summarylogtreecommitdiffstats
path: root/add-install-static-target.patch
blob: 45e76d46a6344a2c94ffc6b3114e082ae1f3f805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Naur libbpf-1.0.1.a/src/Makefile libbpf-1.0.1.b/src/Makefile
--- libbpf-1.0.1.a/src/Makefile	2022-09-27 18:35:17.000000000 -0400
+++ libbpf-1.0.1.b/src/Makefile	2023-03-03 11:33:22.505159232 -0500
@@ -157,6 +157,9 @@
 install: all install_headers install_pkgconfig
 	$(call do_s_install,$(STATIC_LIBS) $(SHARED_LIBS),$(LIBDIR))
 
+install_static: all
+	$(call do_s_install,$(STATIC_LIBS) $(SHARED_LIBS),$(LIBDIR))
+
 install_headers:
 	$(call do_install,$(HEADERS),$(INCLUDEDIR)/bpf,644)