summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--wscript5
2 files changed, 5 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 10d1204..9c82575 100644
--- a/NEWS
+++ b/NEWS
@@ -2,8 +2,9 @@ suil (0.8.3) unstable;
* Configure based on compiler target OS for cross-compilation
* Add Cocoa in Gtk wrapper (patch from Robin Gareus)
+ * Fix compilation with -Wl,--no-undefined
- -- David Robillard <d@drobilla.net> Tue, 28 Oct 2014 21:13:33 -0400
+ -- David Robillard <d@drobilla.net> Tue, 28 Oct 2014 21:21:17 -0400
suil (0.8.2) stable;
diff --git a/wscript b/wscript
index a565f8b..7fe4797 100644
--- a/wscript
+++ b/wscript
@@ -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')