diff options
author | David Robillard <d@drobilla.net> | 2012-04-24 22:19:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-24 22:19:16 +0000 |
commit | 44971d8169bfb0337dcf8ea024f908710e74398b (patch) | |
tree | 82f13981f20977868e55eba9664841316ff1633d | |
parent | 3723d115a6f4d30f652957d131c2a6ea56ad1dd0 (diff) | |
download | suil-44971d8169bfb0337dcf8ea024f908710e74398b.tar.gz suil-44971d8169bfb0337dcf8ea024f908710e74398b.tar.bz2 suil-44971d8169bfb0337dcf8ea024f908710e74398b.zip |
Link GTK wrappers with nodelete flag to avoid multiple glib type registration errors.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4266 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | wscript | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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'): |