uhttpd: add a workaround to use CyaSSL's openssl/ssl.h header, it is not 100% OpenSSL compatible after all
This commit is contained in:
parent
77f310f5db
commit
a7282c8378
1 changed files with 3 additions and 3 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue