From: Jo-Philipp Wich Date: Tue, 19 Jul 2011 06:59:47 +0000 (+0000) Subject: [package] uhttpd: pass feature flags (#9742) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f3b146f05243da1425aa6bc6cc436d1f928b4eba;p=openwrt%2Fsvn-archive%2Farchive.git [package] uhttpd: pass feature flags (#9742) SVN-Revision: 27689 --- diff --git a/package/uhttpd/Makefile b/package/uhttpd/Makefile index d5dbd0e397..17823ad16a 100644 --- a/package/uhttpd/Makefile +++ b/package/uhttpd/Makefile @@ -12,6 +12,8 @@ PKG_RELEASE:=24 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_CONFIG_DEPENDS := \ + CONFIG_PACKAGE_uhttpd-mod-lua \ + CONFIG_PACKAGE_uhttpd-mod-tls \ CONFIG_PACKAGE_uhttpd-mod-tls_cyassl \ CONFIG_PACKAGE_uhttpd-mod-tls_openssl @@ -86,7 +88,11 @@ endef TARGET_CFLAGS += $(TLS_CFLAGS) -MAKE_VARS += FPIC="$(FPIC)" UHTTPD_TLS="$(UHTTPD_TLS)" +MAKE_VARS += \ + FPIC="$(FPIC)" \ + LUA_SUPPORT="$(if $(CONFIG_PACKAGE_uhttpd-mod-lua),1)" \ + TLS_SUPPORT="$(if $(CONFIG_PACKAGE_uhttpd-mod-tls),1)" \ + UHTTPD_TLS="$(UHTTPD_TLS)" define Build/Prepare mkdir -p $(PKG_BUILD_DIR)