From: Carl Hetherington Date: Sat, 16 Jan 2021 02:54:22 +0000 (+0100) Subject: Try to fix Linux build. X-Git-Tag: v1.6.0~43^2~4 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=14d422b35d83856ad53c84df13509865f3584331;hp=4518eac6c41c51e781d2f17e0f26fe7713ac93c1;p=libsub.git Try to fix Linux build. --- diff --git a/wscript b/wscript index f15c029..9219f12 100644 --- a/wscript +++ b/wscript @@ -101,6 +101,9 @@ def configure(conf): else: conf.env.append_value('CXXFLAGS', '-O3') + if not conf.env.TARGET_WINDOWS: + conf.env.append_value('LINKFLAGS', '-pthread') + # Disable libxml++ deprecation warnings for now conf.env.append_value('CXXFLAGS', ['-Wno-deprecated-declarations'])