aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2014-11-18 17:06:23 -0500
committerCory Fields <[email protected]>2014-11-19 22:31:11 -0500
commit9eb5a5fbef5270fda10c15c60a297b4cd19b681e (patch)
treef51866e12e89d6176294dc48c4c4ea3da39b714b
parentbuild: fix static dll link for mingw (diff)
downloaddiscoin-9eb5a5fbef5270fda10c15c60a297b4cd19b681e.tar.xz
discoin-9eb5a5fbef5270fda10c15c60a297b4cd19b681e.zip
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.
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 77ab5eb03..6784521d8 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*)