aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-05 20:24:34 -0400
committerDavid Robillard <d@drobilla.net>2016-09-05 20:24:34 -0400
commita9290108205c9763b6e613290c53132e912f3a95 (patch)
tree3d4a7d33744efed5b2cb97897e48185a6e6137a3
parent1a1e4a5dcc55c73582a465434d4d8deb76271571 (diff)
downloadmachina-a9290108205c9763b6e613290c53132e912f3a95.tar.gz
machina-a9290108205c9763b6e613290c53132e912f3a95.tar.bz2
machina-a9290108205c9763b6e613290c53132e912f3a95.zip
Fix thread compilation on some systems
-rw-r--r--src/engine/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/wscript b/src/engine/wscript
index c12bd9f..380aff9 100644
--- a/src/engine/wscript
+++ b/src/engine/wscript
@@ -34,6 +34,8 @@ def build(bld):
obj.includes = ['.', '..', '../..']
obj.name = 'libmachina_engine'
obj.target = 'machina_engine'
+ obj.cxxflags = '-pthread'
+ obj.linkflags = '-pthread'
core_libs = 'RAUL SERD SORD JACK LV2'
if bld.env.HAVE_EUGENE:
core_libs += ' EUGENE '