diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-19 06:59:47 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-19 06:59:47 +0000 |
commit | 1f2d40118d60e54b3f240f74b4840962d170a8c1 (patch) | |
tree | f195310cf364fb5226a5d4afaf2c62a8043e8628 | |
parent | 09caaff060529fe5ccf86c31679c63b49f721b50 (diff) | |
download | master-187ad058-1f2d40118d60e54b3f240f74b4840962d170a8c1.tar.gz master-187ad058-1f2d40118d60e54b3f240f74b4840962d170a8c1.tar.bz2 master-187ad058-1f2d40118d60e54b3f240f74b4840962d170a8c1.zip |
[package] uhttpd: pass feature flags (#9742)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27689 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/uhttpd/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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) |