From: Adam Duskett Date: Sun, 26 Jul 2020 02:29:01 +0000 (-0700) Subject: package/libwebsockets: add fsmount support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb6d52a5e599bdeaa73af000c10a798278332ffe;p=buildroot.git package/libwebsockets: add fsmount support Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk index a3fc12bcd4..8e6d02205a 100644 --- a/package/libwebsockets/libwebsockets.mk +++ b/package/libwebsockets/libwebsockets.mk @@ -11,7 +11,6 @@ LIBWEBSOCKETS_LICENSE_FILES = LICENSE LIBWEBSOCKETS_DEPENDENCIES = zlib LIBWEBSOCKETS_INSTALL_STAGING = YES LIBWEBSOCKETS_CONF_OPTS = \ - -DLWS_WITH_FSMOUNT=OFF \ -DLWS_WITHOUT_TESTAPPS=ON \ -DLWS_IPV6=ON \ -DLWS_UNIX_SOCK=ON \ @@ -56,6 +55,13 @@ else LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_GLIB=OFF endif +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y) +LIBWEBSOCKETS_DEPENDENCIES += util-linux +LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_FSMOUNT=ON +else +LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_FSMOUNT=OFF +endif + ifeq ($(BR2_PACKAGE_LIBUV),y) LIBWEBSOCKETS_DEPENDENCIES += libuv LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_LIBUV=ON