diff options
author | David Robillard <d@drobilla.net> | 2014-10-29 01:21:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-10-29 01:21:30 +0000 |
commit | 3a9ac58643e6607ab84022b2bb368e704bc62b41 (patch) | |
tree | 487dcd2f7cd805b84b19e2a1f5e22c2cab48dfd3 /wscript | |
parent | fbdb13400bd5e5d77b36bcdf891927c7efc4d0cf (diff) | |
download | suil-3a9ac58643e6607ab84022b2bb368e704bc62b41.tar.gz suil-3a9ac58643e6607ab84022b2bb368e704bc62b41.tar.bz2 suil-3a9ac58643e6607ab84022b2bb368e704bc62b41.zip |
Fix compilation with -Wl,--no-undefined (fix #981).
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5476 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -135,7 +135,8 @@ def build(bld): else: cflags += ['-fvisibility=hidden'] if bld.is_defined('HAVE_LIBDL'): - lib += ['dl'] + lib += ['dl'] + modlib += ['dl'] module_dir = '${LIBDIR}/suil-' + SUIL_MAJOR_VERSION @@ -199,7 +200,7 @@ def build(bld): defines = ['SUIL_SHARED', 'SUIL_INTERNAL'], install_path = module_dir, cflags = cflags, - lib = modlib, + lib = modlib + ['X11'], linkflags = bld.env.NODELETE_FLAGS) autowaf.use_lib(bld, obj, 'GTK2 GTK2_X11 LV2 LV2_1_4_3') |