mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
build: try to find getopt in macOS homebrew's standard location
It is not symlinked to /usr/local/bin by default Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
ee8ef9b10b
commit
cc16f5d73e
@ -125,7 +125,8 @@ $(eval $(call SetupHostCommand,egrep,Please install GNU 'grep', \
|
|||||||
$(eval $(call SetupHostCommand,getopt, \
|
$(eval $(call SetupHostCommand,getopt, \
|
||||||
Please install an extended getopt version that supports --long, \
|
Please install an extended getopt version that supports --long, \
|
||||||
gnugetopt -o t --long test -- --test | grep '^ *--test *--', \
|
gnugetopt -o t --long test -- --test | grep '^ *--test *--', \
|
||||||
getopt -o t --long test -- --test | grep '^ *--test *--'))
|
getopt -o t --long test -- --test | grep '^ *--test *--', \
|
||||||
|
/usr/local/opt/gnu-getopt/bin/getopt -o t --long test -- --test | grep '^ *--test *--'))
|
||||||
|
|
||||||
$(eval $(call SetupHostCommand,stat,Cannot find a file stat utility, \
|
$(eval $(call SetupHostCommand,stat,Cannot find a file stat utility, \
|
||||||
gnustat -c%s $(TOPDIR)/Makefile, \
|
gnustat -c%s $(TOPDIR)/Makefile, \
|
||||||
|
Loading…
Reference in New Issue
Block a user