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*)