uhttpd: always turn on TLS support, include ustream-ssl as a build dependency

SVN-Revision: 35295
This commit is contained in:
Felix Fietkau 2013-01-22 15:05:04 +00:00
parent 7b845ca9c7
commit a4c7a953e5

View File

@ -18,11 +18,11 @@ PKG_SOURCE_VERSION:=14e3971c37e6feb0ec5eda0988e07d8a786ba9f9
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
PKG_CONFIG_DEPENDS = CONFIG_PACKAGE_uhttpd-mod-tls
PKG_BUILD_DEPENDS = ustream-ssl
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/uhttpd/default
SECTION:=net
CATEGORY:=Network
@ -102,7 +102,7 @@ endef
TARGET_LDFLAGS += -lcrypt
CMAKE_OPTIONS = -DTLS_SUPPORT=$(if $(CONFIG_PACKAGE_uhttpd-mod-tls),on,off)
CMAKE_OPTIONS = -DTLS_SUPPORT=on
define Package/uhttpd/install
$(INSTALL_DIR) $(1)/etc/init.d