summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-29 13:09:04 +0000
committerCarl Hetherington <cth@carlh.net>2012-10-29 13:09:04 +0000
commitbd0b10f663b22dd5006592b522e471848d67997b (patch)
treeab7fc15f95476765334811e067f7dcb1bdfff4d9 /wscript
parentdae5d5f2e9fd5c3f02f5df1eb70f7e60b221ab24 (diff)
Compile fixes for ubuntu 12.10
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index 46f2a6815..2bc0781e4 100644
--- a/wscript
+++ b/wscript
@@ -37,6 +37,7 @@ def configure(conf):
conf.env.append_value('CXXFLAGS', '-DDVDOMATIC_POSIX')
boost_lib_suffix = ''
boost_thread = 'boost_thread'
+ conf.env.append_value('LINKFLAGS', '-pthread')
conf.env.TARGET_WINDOWS = conf.options.target_windows
conf.env.DISABLE_GUI = conf.options.disable_gui
@@ -84,7 +85,7 @@ def configure(conf):
#include <boost/thread.hpp>\n
int main() { boost::thread t (); }\n
""", msg = 'Checking for boost threading library',
- lib = [boost_thread, 'boost_system%s' % boost_lib_suffix],
+ lib = [boost_thread],
uselib_store = 'BOOST_THREAD')
conf.check_cxx(fragment = """