bpftools: fix param order for install on macOS
[openwrt/staging/nbd.git] / package / network / utils / bpftools / patches / 200-fix-install-param-order-on-macos.patch
1 --- a/tools/lib/bpf/Makefile
2 +++ b/tools/lib/bpf/Makefile
3 @@ -236,7 +236,7 @@ define do_install
4 if [ ! -d '$(DESTDIR_SQ)$2' ]; then \
5 $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$2'; \
6 fi; \
7 - $(INSTALL) $1 $(if $3,-m $3,) '$(DESTDIR_SQ)$2'
8 + $(INSTALL) $(if $3,-m $3,) $1 '$(DESTDIR_SQ)$2'
9 endef
10
11 install_lib: all_cmd