diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-04-15 18:53:08 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-04-21 10:08:46 +0200 |
commit | b0a8ddabe531b5d848ad798ccbccdf8f46671223 (patch) | |
tree | 205643d7fb80f6b98a50509c21c8a881ef9a5fab | |
parent | f87594da14dfc61a5c6163f8e91b8395a28f690e (diff) | |
download | bitcoin-b0a8ddabe531b5d848ad798ccbccdf8f46671223.tar.xz |
build: Pass missed darwin-specific tools via `config.site`
-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 |