From b0a8ddabe531b5d848ad798ccbccdf8f46671223 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Fri, 15 Apr 2022 18:53:08 +0200 Subject: build: Pass missed darwin-specific tools via `config.site` --- depends/Makefile | 2 ++ depends/config.site.in | 12 ++++++++++++ 2 files changed, 14 insertions(+) (limited to 'depends') 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 -- cgit v1.2.3