Revert "iproute2: simplify linking libelf for eBFP/XDP object file support"
[openwrt/staging/chunkeey.git] / package / network / utils / iproute2 / patches / 145-keep_libelf_optional.patch
diff --git a/package/network/utils/iproute2/patches/145-keep_libelf_optional.patch b/package/network/utils/iproute2/patches/145-keep_libelf_optional.patch
deleted file mode 100644 (file)
index 2e3ad18..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure
-+++ b/configure
-@@ -228,7 +228,7 @@ EOF
- check_elf()
- {
--    if ${PKG_CONFIG} libelf --exists; then
-+    if [ "${HAVE_ELF}" = "y" ] && ${PKG_CONFIG} libelf --exists; then
-       echo "HAVE_ELF:=y" >>$CONFIG
-       echo "yes"