projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77f310f
)
uhttpd: add a workaround to use CyaSSL's openssl/ssl.h header, it is not 100% OpenSSL...
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 19 Mar 2010 01:36:30 +0000
(
01:36
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 19 Mar 2010 01:36:30 +0000
(
01:36
+0000)
contrib/package/uhttpd/Makefile
patch
|
blob
|
history
diff --git
a/contrib/package/uhttpd/Makefile
b/contrib/package/uhttpd/Makefile
index e2455ed2624cea90e49b564844043720099d338a..ec37b2eab0b4304d5e8b3a73963a8d9176854a7d 100644
(file)
--- 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/