From: Jo-Philipp Wich Date: Fri, 19 Mar 2010 01:36:30 +0000 (+0000) Subject: uhttpd: add a workaround to use CyaSSL's openssl/ssl.h header, it is not 100% OpenSSL... X-Git-Tag: 0.10.0~811 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=a7282c83787272d98a3c6bc8f5313987c0ae3d96;p=project%2Fluci.git uhttpd: add a workaround to use CyaSSL's openssl/ssl.h header, it is not 100% OpenSSL compatible after all --- diff --git a/contrib/package/uhttpd/Makefile b/contrib/package/uhttpd/Makefile index e2455ed26..ec37b2eab 100644 --- a/contrib/package/uhttpd/Makefile +++ b/contrib/package/uhttpd/Makefile @@ -27,14 +27,14 @@ define Package/uhttpd/description HTTP daemon. endef +# hack to use CyASSL headers +TARGET_CFLAGS += -I$(firstword $(wildcard $(BUILD_DIR)/cyassl-*/include)) + define Build/Prepare mkdir -p $(PKG_BUILD_DIR) $(CP) ./src/* $(PKG_BUILD_DIR)/ endef -TARGET_CFLAGS += --std=c99 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -TARGET_LDFLAGS += -lz -lm -lcrypt - define Package/uhttpd/install $(INSTALL_DIR) $(1)/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/uhttpd $(1)/sbin/