mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
a9b5473c92
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
18 lines
413 B
Diff
18 lines
413 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -246,7 +246,13 @@ PKG_CHECK_MODULES([check], [check >= 0.9
|
|
|
|
# Third-party libraries
|
|
lldp_CHECK_LIBEVENT
|
|
-lldp_CHECK_LIBCAP
|
|
+
|
|
+#libcap is not a core package so disable this capability
|
|
+#lldp_CHECK_LIBCAP
|
|
+libcap_LIBS=
|
|
+libcap_CFLAGS=
|
|
+AC_SUBST([libcap_LIBS])
|
|
+AC_SUBST([libcap_CFLAGS])
|
|
|
|
# Compatibility with pkg.m4 < 0.27
|
|
m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR],
|