h69k/package/network/utils/iproute2/patches/145-keep_libelf_optional.patch

12 lines
235 B
Diff
Raw Normal View History

2024-09-29 14:35:28 +00:00
--- a/configure
+++ b/configure
@@ -266,7 +266,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"