Files
openwrt-19.07/package/network/utils/iproute2/patches/145-keep_libelf_optional.patch
2025-06-24 16:03:39 +02:00

12 lines
235 B
Diff

--- 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"