summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-03-21 23:02:18 +0100
committerCarl Hetherington <cth@carlh.net>2021-03-21 23:02:18 +0100
commit1deb04653db2074891ca7be9e2165e7ffc776bf6 (patch)
treee76f5b6d3e590567ca3d49abd0d2fb010c01b3dc /wscript
parentb7c316ba78f7ca634008baa3ad7d8c48403a7151 (diff)
Add headerpad option for the macOS linker.
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index 5876b1b6..f8c945eb 100644
--- a/wscript
+++ b/wscript
@@ -91,6 +91,7 @@ def configure(conf):
if conf.env.TARGET_OSX:
conf.env.append_value('CXXFLAGS', ['-Wno-unused-result', '-Wno-unused-parameter', '-Wno-unused-local-typedef'])
+ conf.env.append_value('LINKFLAGS', '-headerpad_max_install_names')
# Disable libxml++ deprecation warnings for now
conf.env.append_value('CXXFLAGS', ['-Wno-deprecated-declarations'])