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.
This commit is contained in:
Cory Fields 2014-11-18 17:06:23 -05:00
parent 9ed8979e29
commit 9eb5a5fbef

View File

@ -285,6 +285,7 @@ case $host in
esac esac
fi fi
AX_CHECK_LINK_FLAG([[-Wl,-headerpad_max_install_names]], [LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"])
CPPFLAGS="$CPPFLAGS -DMAC_OSX" CPPFLAGS="$CPPFLAGS -DMAC_OSX"
;; ;;
*linux*) *linux*)