disable -rdynamic by default
authorRobin Gareus <robin@gareus.org>
Wed, 15 Apr 2015 18:31:27 +0000 (20:31 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 15 Apr 2015 18:31:27 +0000 (20:31 +0200)
see man 3 dlopen. Ideally we’d use RTLD_DEEPBIND,
but it’s neither portable and rather new (glibc 2.3.4).

This fixes issues with symbol conflicts in plugins
e.g. http://pastebin.com/FkFkf3Mm  (plugin expects
its own OSC[illator?] class but gets ardour’s
OpenSoundControl instead).

wscript

diff --git a/wscript b/wscript
index 7395d92a20268abd6ab86eeafb8f555c135841d5..bb3157434df6fbf8d634967af2ec8324a15aff10 100644 (file)
--- a/wscript
+++ b/wscript
@@ -575,7 +575,7 @@ def options(opt):
                     help='Architecture-specific compiler FLAGS')
     opt.add_option('--with-backends', type='string', action='store', default='jack', dest='with_backends',
                     help='Specify which backend modules are to be included(jack,alsa,wavesaudio,dummy,coreaudio)')
-    opt.add_option('--backtrace', action='store_true', default=True, dest='backtrace',
+    opt.add_option('--backtrace', action='store_true', default=False, dest='backtrace',
                     help='Compile with -rdynamic -- allow obtaining backtraces from within Ardour')
     opt.add_option('--no-carbon', action='store_true', default=False, dest='nocarbon',
                     help='Compile without support for AU Plugins with only CARBON UI (needed for 64bit)')