diff options
-rw-r--r-- | depends/Makefile | 2 | ||||
-rw-r--r-- | depends/config.site.in | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/depends/Makefile b/depends/Makefile index b901533786..d7e4f31109 100644 --- a/depends/Makefile +++ b/depends/Makefile @@ -222,6 +222,8 @@ $(host_prefix)/share/config.site : config.site.in $(host_prefix)/.stamp_$(final_ -e 's|@RANLIB@|$(host_RANLIB)|' \ -e 's|@NM@|$(host_NM)|' \ -e 's|@STRIP@|$(host_STRIP)|' \ + -e 's|@OTOOL@|$(host_OTOOL)|' \ + -e 's|@INSTALL_NAME_TOOL@|$(host_INSTALL_NAME_TOOL)|' \ -e 's|@build_os@|$(build_os)|' \ -e 's|@host_os@|$(host_os)|' \ -e 's|@CFLAGS@|$(strip $(host_CFLAGS) $(host_$(release_type)_CFLAGS))|' \ diff --git a/depends/config.site.in b/depends/config.site.in index dd06c5675c..4f1ab0bd8e 100644 --- a/depends/config.site.in +++ b/depends/config.site.in @@ -120,6 +120,18 @@ if test -n "@STRIP@"; then ac_cv_path_ac_pt_STRIP="${STRIP}" fi +if test "@host_os@" = darwin; then + if test -n "@OTOOL@"; then + OTOOL="@OTOOL@" + ac_cv_path_ac_pt_OTOOL="${OTOOL}" + fi + + if test -n "@INSTALL_NAME_TOOL@"; then + INSTALL_NAME_TOOL="@INSTALL_NAME_TOOL@" + ac_cv_path_ac_pt_INSTALL_NAME_TOOL="${INSTALL_NAME_TOOL}" + fi +fi + if test -n "@debug@"; then enable_reduce_exports=no fi |