From bd0b10f663b22dd5006592b522e471848d67997b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 29 Oct 2012 13:09:04 +0000 Subject: Compile fixes for ubuntu 12.10 --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \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 = """ -- cgit v1.2.3