← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~linuxdcpp-team/linuxdcpp/trunk] Rev 350: Fixed libX11 linking issue

 

------------------------------------------------------------
revno: 350
committer: Steven Sheehy <steven.sheehy@xxxxxxxxx>
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);'):