summaryrefslogtreecommitdiff
path: root/games/glob2/SConstruct_boost.patch
blob: 0867016d6f1be85f5d152cdf693036b00a997bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- glob2-0.9.4.4/SConstruct.original	2014-04-09 06:25:12.710804438 +0300
+++ glob2-0.9.4.4/SConstruct	2014-04-09 06:47:08.010360930 +0300
@@ -109,6 +109,14 @@
         else:
             print "Could not find libz or zlib1.dll"
             missing.append("zlib")
+    
+    boost_system = ''
+    if conf.CheckLib("boost_system"):
+        boost_system="boost_system"
+    else:
+        print "Could not find libboost_system"
+        missing.append("libboost_system")
+    env.Append(LIBS=[boost_system])
 
     boost_thread = ''
     if conf.CheckLib("boost_thread") and conf.CheckCXXHeader("boost/thread/thread.hpp"):