PDA

View Full Version : [PATCH] fix -ldbus-1.0 error on 64bit


xmltok
2009-01-02, 21:51
People have been complaining about -ldbus errors http://xbmc.org/forum/showthread.php?t=42613. This patch will fix that and allow LDFLAGS to be used to link the binary.



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

xmltok
2009-01-02, 21:58
ticket 5575 created

http://xbmc.org/trac/ticket/5575