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