aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-11-18 17:06:23 -0500
committerCory Fields <cory-nospam-@coryfields.com>2014-11-19 22:31:11 -0500
commit9eb5a5fbef5270fda10c15c60a297b4cd19b681e (patch)
treef51866e12e89d6176294dc48c4c4ea3da39b714b /configure.ac
parent9ed8979e294fb7a42e26a6b6541f614554663bea (diff)
downloadbitcoin-9eb5a5fbef5270fda10c15c60a297b4cd19b681e.tar.xz
build: pad header for osx libs
This ensures that users of the lib will be able to mangle the paths to work in their bundles.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 77ab5eb03c..6784521d81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -285,6 +285,7 @@ case $host in
esac
fi
+ AX_CHECK_LINK_FLAG([[-Wl,-headerpad_max_install_names]], [LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"])
CPPFLAGS="$CPPFLAGS -DMAC_OSX"
;;
*linux*)