fix host build error on macOS reference: https://github.com/openwrt/packages/issues/9616 Related: https://github.com/openwrt/packages/issues/7171 (This correspondence is necessary to build with macOS.) Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
11 lines
547 B
Diff
11 lines
547 B
Diff
--- a/tools/gyp/pylib/gyp/generator/make.py
|
|
+++ b/tools/gyp/pylib/gyp/generator/make.py
|
|
@@ -174,7 +174,7 @@
|
|
|
|
LINK_COMMANDS_MAC = """\
|
|
quiet_cmd_alink = LIBTOOL-STATIC $@
|
|
-cmd_alink = rm -f $@ && ./gyp-mac-tool filter-libtool libtool $(GYP_LIBTOOLFLAGS) -static -o $@ $(filter %.o,$^)
|
|
+cmd_alink = rm -f $@ && ./gyp-mac-tool filter-libtool /usr/bin/libtool $(GYP_LIBTOOLFLAGS) -static -o $@ $(filter %.o,$^)
|
|
|
|
quiet_cmd_link = LINK($(TOOLSET)) $@
|
|
cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS)
|