diff options
author | David Robillard <d@drobilla.net> | 2015-02-06 22:55:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-06 22:55:30 +0000 |
commit | 10669b73136183f70057917af311dadad46588b7 (patch) | |
tree | 6d81c015f9ab292f5d21b219504f28fdb027630f /src/server/wscript | |
parent | 8fb76ad09c062055170666de28661bd9da25f98e (diff) | |
download | ingen-10669b73136183f70057917af311dadad46588b7.tar.gz ingen-10669b73136183f70057917af311dadad46588b7.tar.bz2 ingen-10669b73136183f70057917af311dadad46588b7.zip |
Remove gthread dependency from engine.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5533 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/wscript')
-rw-r--r-- | src/server/wscript | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/server/wscript b/src/server/wscript index 2ab1dfe9..76362fa5 100644 --- a/src/server/wscript +++ b/src/server/wscript @@ -53,8 +53,10 @@ def build(bld): name = 'libingen_server', target = 'ingen_server', install_path = '${LIBDIR}', - use = 'libingen') - core_libs = 'GLIBMM GTHREAD LV2 LILV RAUL SERD SORD' + use = 'libingen', + cxxflags = bld.env.PTHREAD_CFLAGS, + linkflags = bld.env.PTHREAD_LINKFLAGS) + core_libs = 'GLIBMM LV2 LILV RAUL SERD SORD' autowaf.use_lib(bld, obj, core_libs) if bld.env.BUILD_TESTS: @@ -67,7 +69,8 @@ def build(bld): install_path = '${LIBDIR}', use = 'libingen_profiled', lib = bld.env.INGEN_TEST_LIBS, - cxxflags = bld.env.INGEN_TEST_CXXFLAGS) + cxxflags = bld.env.PTHREAD_CFLAGS + bld.env.INGEN_TEST_CXXFLAGS, + linkflags = bld.env.PTHREAD_LINKFLAGS) autowaf.use_lib(bld, obj, core_libs) if bld.env.HAVE_JACK: @@ -77,7 +80,9 @@ def build(bld): name = 'libingen_jack', target = 'ingen_jack', install_path = '${LIBDIR}', - use = 'libingen_server') + use = 'libingen_server', + cxxflags = bld.env.PTHREAD_CFLAGS, + linkflags = bld.env.PTHREAD_LINKFLAGS) autowaf.use_lib(bld, obj, core_libs + ' JACK') # Ingen LV2 wrapper @@ -87,5 +92,7 @@ def build(bld): name = 'libingen_lv2', target = 'ingen_lv2', install_path = '${LV2DIR}/ingen.lv2/', - use = 'libingen libingen_server') + use = 'libingen libingen_server', + cxxflags = bld.env.PTHREAD_CFLAGS, + linkflags = bld.env.PTHREAD_LINKFLAGS) autowaf.use_lib(bld, obj, core_libs) |