summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-04-04 15:26:51 -0700
committerPatrick McLean <chutzpah@gentoo.org>2019-04-04 15:27:15 -0700
commit389ef0393e966b8367e6d0dfd8404ce35352a37e (patch)
tree5f955277a1e34861aa5d21c8393d81657a6861d4 /dev-libs/libbpf/files
parentdev-libs/cloog: switch to https:// schema, bug #682502 (diff)
downloadgentoo-389ef0393e966b8367e6d0dfd8404ce35352a37e.tar.gz
gentoo-389ef0393e966b8367e6d0dfd8404ce35352a37e.tar.bz2
gentoo-389ef0393e966b8367e6d0dfd8404ce35352a37e.zip
dev-libs/libbpf: Version bump to 0.20190404
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/libbpf/files')
-rw-r--r--dev-libs/libbpf/files/libbpf-0.20190404-makefile.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/libbpf/files/libbpf-0.20190404-makefile.patch b/dev-libs/libbpf/files/libbpf-0.20190404-makefile.patch
new file mode 100644
index 000000000000..7bfe5eb6335f
--- /dev/null
+++ b/dev-libs/libbpf/files/libbpf-0.20190404-makefile.patch
@@ -0,0 +1,16 @@
+diff --git a/Makefile b/src/Makefile
+index 35b4818..c034531 100644
+--- a/Makefile
++++ b/Makefile
+@@ -36,7 +36,10 @@ OBJDIR ?= .
+ OBJS := $(addprefix $(OBJDIR)/,bpf.o btf.o libbpf.o libbpf_errno.o netlink.o \
+ nlattr.o str_error.o libbpf_probes.o bpf_prog_linfo.o xsk.o)
+
+-LIBS := $(OBJDIR)/libbpf.a
++ifdef BUILD_STATIC
++ LIBS := $(OBJDIR)/libbpf.a
++endif
++
+ ifndef BUILD_STATIC_ONLY
+ LIBS += $(OBJDIR)/libbpf.so \
+ $(OBJDIR)/libbpf.so.$(VERSION) \