2009-01-02, 21:51
People have been complaining about -ldbus errors http://forum.xbmc.org/showthread.php?tid=42613. This patch will fix that and allow LDFLAGS to be used to link the binary.
Code:
diff --git a/Makefile.in b/Makefile.in
index 61d5e70..29813ba 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -276,8 +276,8 @@ OBJSXBMC= \
$(wildcard $(OBJSXBMC)) :| compile
-xbmc.bin: $(wildcard $(OBJSXBMC)) $(LIBS) | compile
- g++ $(DEBUG_FLAGS) -o xbmc.bin $(OBJSXBMC) $(LIBS) -rdynamic
+xbmc.bin: $(wildcard $(OBJSXBMC)) | compile
+ g++ $(DEBUG_FLAGS) -o xbmc.bin $(OBJSXBMC) $(LIBS) $(LDFLAGS) -rdynamic
xbmc-xrandr: xbmc-xrandr.c
gcc -g -o xbmc-xrandr xbmc-xrandr.c -lXrandr -lXrender -lX11