summaryrefslogtreecommitdiff
path: root/repo/ardour/always-link-execinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/ardour/always-link-execinfo.patch')
-rw-r--r--repo/ardour/always-link-execinfo.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/repo/ardour/always-link-execinfo.patch b/repo/ardour/always-link-execinfo.patch
new file mode 100644
index 0000000..02d2dc0
--- /dev/null
+++ b/repo/ardour/always-link-execinfo.patch
@@ -0,0 +1,13 @@
+Upstream: not yet, need proper alternative.
+--- a/libs/pbd/wscript 2020-05-27 15:46:59.641983074 +0200
++++ b/libs/pbd/wscript 2020-05-27 15:47:08.208661970 +0200
+@@ -181,8 +181,7 @@
+ obj.install_path = bld.env['LIBDIR']
+ obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
+
+- if sys.platform.startswith('netbsd'):
+- obj.linkflags = '-lexecinfo'
++ obj.ldflags = '-lexecinfo'
+
+ if bld.env['build_target'] == 'x86_64':
+ obj.defines += [ 'USE_X86_64_ASM' ]