13
0

disable -rdynamic by default

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).
This commit is contained in:
Robin Gareus 2015-04-15 20:31:27 +02:00
parent 2d227a03a3
commit 69e41c3b38

View File

@ -575,7 +575,7 @@ def options(opt):
help='Architecture-specific compiler FLAGS') help='Architecture-specific compiler FLAGS')
opt.add_option('--with-backends', type='string', action='store', default='jack', dest='with_backends', 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)') 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') help='Compile with -rdynamic -- allow obtaining backtraces from within Ardour')
opt.add_option('--no-carbon', action='store_true', default=False, dest='nocarbon', 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)') help='Compile without support for AU Plugins with only CARBON UI (needed for 64bit)')