projects
/
openwrt
/
staging
/
ynezz.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
iproute2: add libcap support, enabled in ip-full
[openwrt/staging/ynezz.git]
/
package
/
network
/
utils
/
iproute2
/
patches
/
150-keep_libcap_optional.patch
1
--- a/configure
2
+++ b/configure
3
@@ -313,7 +313,7 @@ EOF
4
5
check_cap()
6
{
7
- if ${PKG_CONFIG} libcap --exists; then
8
+ if [ "${HAVE_CAP}" = "y" ] && ${PKG_CONFIG} libcap --exists; then
9
echo "HAVE_CAP:=y" >>$CONFIG
10
echo "yes"
11