From 9eb5a5fbef5270fda10c15c60a297b4cd19b681e Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Tue, 18 Nov 2014 17:06:23 -0500 Subject: [PATCH] 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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*)