Skip to content

Commit b0a8dda

Browse files
committed
build: Pass missed darwin-specific tools via config.site
1 parent f87594d commit b0a8dda

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

depends/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ $(host_prefix)/share/config.site : config.site.in $(host_prefix)/.stamp_$(final_
222222
-e 's|@RANLIB@|$(host_RANLIB)|' \
223223
-e 's|@NM@|$(host_NM)|' \
224224
-e 's|@STRIP@|$(host_STRIP)|' \
225+
-e 's|@OTOOL@|$(host_OTOOL)|' \
226+
-e 's|@INSTALL_NAME_TOOL@|$(host_INSTALL_NAME_TOOL)|' \
225227
-e 's|@build_os@|$(build_os)|' \
226228
-e 's|@host_os@|$(host_os)|' \
227229
-e 's|@CFLAGS@|$(strip $(host_CFLAGS) $(host_$(release_type)_CFLAGS))|' \

depends/config.site.in

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,18 @@ if test -n "@STRIP@"; then
120120
ac_cv_path_ac_pt_STRIP="${STRIP}"
121121
fi
122122

123+
if test "@host_os@" = darwin; then
124+
if test -n "@OTOOL@"; then
125+
OTOOL="@OTOOL@"
126+
ac_cv_path_ac_pt_OTOOL="${OTOOL}"
127+
fi
128+
129+
if test -n "@INSTALL_NAME_TOOL@"; then
130+
INSTALL_NAME_TOOL="@INSTALL_NAME_TOOL@"
131+
ac_cv_path_ac_pt_INSTALL_NAME_TOOL="${INSTALL_NAME_TOOL}"
132+
fi
133+
fi
134+
123135
if test -n "@debug@"; then
124136
enable_reduce_exports=no
125137
fi

0 commit comments

Comments
 (0)