You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-strategy/glob2/files/glob2-0.9.4.4-underlinking....

20 lines
672 B

--- glob2-0.9.4.4.orig/SConstruct
+++ glob2-0.9.4.4/SConstruct
@@ -110,6 +110,16 @@
print "Could not find libz or zlib1.dll"
missing.append("zlib")
+ boost_system = ''
+ if conf.CheckLib("boost_system"):
+ boost_system="boost_system"
+ elif conf.CheckLib("boost_system-mt"):
+ boost_system="boost_system-mt"
+ else:
+ print "Could not find libboost_system or libboost_system-mt"
+ missing.append("libboost_system")
+ env.Append(LIBS=[boost_system])
+
boost_thread = ''
if conf.CheckLib("boost_thread") and conf.CheckCXXHeader("boost/thread/thread.hpp"):
boost_thread="boost_thread"