mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-26 06:46:59 +08:00
12 lines
231 B
Diff
12 lines
231 B
Diff
--- a/configure
|
|
+++ b/configure
|
|
@@ -425,7 +425,7 @@ EOF
|
|
|
|
check_cap()
|
|
{
|
|
- if ${PKG_CONFIG} libcap --exists; then
|
|
+ if [ "${HAVE_CAP}" = "y" ] && ${PKG_CONFIG} libcap --exists; then
|
|
echo "HAVE_CAP:=y" >>$CONFIG
|
|
echo "yes"
|
|
|