[PATCH] fix -ldbus-1.0 error on 64bit
#1
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
Reply
#2
ticket 5575 created

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

Logout Mark Read Team Forum Stats Members Help
[PATCH] fix -ldbus-1.0 error on 64bit0