summaryrefslogtreecommitdiffstats
path: root/make/openssl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/openssl.mk')
-rw-r--r--make/openssl.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/make/openssl.mk b/make/openssl.mk
index 183781ee5..f43a75bff 100644
--- a/make/openssl.mk
+++ b/make/openssl.mk
@@ -21,15 +21,15 @@ $(OPENSSL_DIR)/.unpacked: $(DL_DIR)/$(OPENSSL_SOURCE) $(OPENSSL_PATCH)
$(OPENSSL_DIR)/Makefile: $(OPENSSL_DIR)/.unpacked
(cd $(OPENSSL_DIR); \
PATH=$(TARGET_PATH) ./Configure linux-$(ARCH) --prefix=$(STAGING_DIR) \
- --openssldir=$(STAGING_DIR) -L$(STAGING_DIR)/lib -ldl \
+ --openssldir=$(STAGING_DIR)/usr/lib/ssl -L$(STAGING_DIR)/lib -ldl \
-I$(STAGING_DIR)/include $(OPENSSL_OPTS) no-threads \
shared no-idea no-mdc2 no-rc5)
$(OPENSSL_DIR)/apps/openssl: $(OPENSSL_DIR)/Makefile
- make CC=$(TARGET_CC1) -C $(OPENSSL_DIR) all build-shared
+ $(MAKE) CC=$(TARGET_CC1) -C $(OPENSSL_DIR) all build-shared
$(STAGING_DIR)/lib/libcrypto.so.0: $(OPENSSL_DIR)/apps/openssl
- make CC=$(TARGET_CC1) -C $(OPENSSL_DIR) install
+ $(MAKE) CC=$(TARGET_CC1) -C $(OPENSSL_DIR) install
cp -fa $(OPENSSL_DIR)/libcrypto.so* $(STAGING_DIR)/lib/
(cd $(STAGING_DIR)/lib; ln -fs libcrypto.so.0.9.6 libcrypto.so)
(cd $(STAGING_DIR)/lib; ln -fs libcrypto.so.0.9.6 libcrypto.so.0)