projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Makefiles for OpenWRT.
[umurmur.git]
/
openwrt
/
Makefile.openssl
diff --git
a/openwrt/Makefile.openssl
b/openwrt/Makefile.openssl
index f989ee7ca70273bd99142398196238f593e54579..f03997543f5e830ddc506a1e5497998cb30d0e76 100644
(file)
--- a/
openwrt/Makefile.openssl
+++ b/
openwrt/Makefile.openssl
@@
-26,6
+26,9
@@
endef
TARGET_CFLAGS := \
-DWRT_TARGET \
$(TARGET_CFLAGS)
TARGET_CFLAGS := \
-DWRT_TARGET \
$(TARGET_CFLAGS)
+TARGET_LDFLAGS := \
+ -lcrypto -lssl \
+ $(TARGET_LDFLAGS)
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
@@
-42,9
+45,9
@@
define Package/umurmur-openssl/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/umurmurd $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/umurmurd $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc
- $(INSTALL_CONF) ./files/umurmur.conf $(1)/etc/
+ $(INSTALL_CONF) ./
openwrt/
files/umurmur.conf $(1)/etc/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/init.d
- $(INSTALL_BIN) ./files/umurmur.init $(1)/etc/init.d/umurmur
+ $(INSTALL_BIN) ./
openwrt/
files/umurmur.init $(1)/etc/init.d/umurmur
$(INSTALL_DIR) $(1)/etc/umurmur
endef
$(INSTALL_DIR) $(1)/etc/umurmur
endef