------------------------------------------------------------
revno: 350
committer: Steven Sheehy <[email protected]>
branch nick: trunk
timestamp: Sun 2010-02-14 14:35:24 -0600
message:
Fixed libX11 linking issue
modified:
SConstruct
--
lp:linuxdcpp
https://code.launchpad.net/~linuxdcpp-team/linuxdcpp/trunk
Your team LinuxDC++ Team is subscribed to branch lp:linuxdcpp.
To unsubscribe from this branch go to
https://code.launchpad.net/~linuxdcpp-team/linuxdcpp/trunk/+edit-subscription.
=== modified file 'SConstruct'
--- SConstruct 2010-01-17 05:09:19 +0000
+++ SConstruct 2010-02-14 20:35:24 +0000
@@ -192,6 +192,11 @@
print '\tNote: You might have the lib but not the headers'
Exit(1)
+ # Needed for XFlush(). Headers shouldn't be needed since we include gdk/gdkx.h
+ if not conf.CheckLib('X11'):
+ print '\tX11 library not found'
+ Exit(1)
+
if not conf.CheckHeader('iconv.h'):
Exit(1)
elif conf.CheckLibWithHeader('iconv', 'iconv.h', 'c', 'iconv(0, (const char **)0, 0, (char**)0, 0);'):
_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help : https://help.launchpad.net/ListHelp