[Buildroot] [git commit] package/sslh: add optional libcap dependency
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Apr 11 13:01:54 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=b5e19d07d88ddce930b5ebfc1fb80b1c7878cdfd
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
libcap dependency has been added in version 1.16 with
https://github.com/yrutschle/sslh/commit/009faa64b75801961f88ec5a7a09fd991168d4e9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/sslh/sslh.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/sslh/sslh.mk b/package/sslh/sslh.mk
index 5c868dfe2f..e8eb5e2b6f 100644
--- a/package/sslh/sslh.mk
+++ b/package/sslh/sslh.mk
@@ -13,6 +13,13 @@ SSLH_DEPENDENCIES = libconfig
SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS)
+ifeq ($(BR2_PACKAGE_LIBCAP),y)
+SSLH_DEPENDENCIES += libcap
+SSLH_MAKE_OPTS += USELIBCAP=1
+else
+SSLH_MAKE_OPTS += USELIBCAP=
+endif
+
ifeq ($(BR2_PACKAGE_PCRE),y)
SSLH_DEPENDENCIES += pcre
SSLH_MAKE_OPTS += USELIBPCRE=1
More information about the buildroot
mailing list