projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
iproute2: support eBFP/XDP object file loading, simplify linking libelf
[openwrt/openwrt.git]
/
package
/
network
/
utils
/
iproute2
/
patches
/
145-keep_libelf_optional.patch
1
--- a/configure
2
+++ b/configure
3
@@ -228,7 +228,7 @@ EOF
4
5
check_elf()
6
{
7
- if ${PKG_CONFIG} libelf --exists; then
8
+ if [ "${HAVE_ELF}" = "y" ] && ${PKG_CONFIG} libelf --exists; then
9
echo "HAVE_ELF:=y" >>$CONFIG
10
echo "yes"
11