summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/wscript b/wscript
index b92379f..f5616b2 100644
--- a/wscript
+++ b/wscript
@@ -119,7 +119,8 @@ def build(bld):
target = 'suil_qt4_in_gtk2',
includes = ['.'],
install_path = module_dir,
- cflags = cflags)
+ cflags = cflags,
+ linkflags = ['-Wl,-z,nodelete'])
autowaf.use_lib(bld, obj, 'GTK2 QT4 LV2')
if bld.is_defined('HAVE_GTK2'):
@@ -128,7 +129,8 @@ def build(bld):
target = 'suil_x11_in_gtk2',
includes = ['.'],
install_path = module_dir,
- cflags = cflags)
+ cflags = cflags,
+ linkflags = ['-Wl,-z,nodelete'])
autowaf.use_lib(bld, obj, 'GTK2 LV2')
if bld.is_defined('HAVE_QT4'):