mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/wavemon: add libcap optional dependency
libcap is an optional dependency which is enabled by default since version 0.7.1 and669c53e335and can be explicitly enabled or disabled since version 0.9.0 andaf36fbe756Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commitc3712a86ad) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
46da68c01b
commit
c4e07d92aa
@@ -13,4 +13,11 @@ WAVEMON_DEPENDENCIES = host-pkgconf libnl ncurses
|
||||
# Handwritten Makefile.in, automake isn't used
|
||||
WAVEMON_MAKE_OPTS = CC="$(TARGET_CC)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
WAVEMON_CONF_OPTS += --with-libcap
|
||||
WAVEMON_DEPENDENCIES += libcap
|
||||
else
|
||||
WAVEMON_CONF_OPTS += --without-libcap
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user