summaryrefslogtreecommitdiff
path: root/package/openssl/openssl.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-13 19:35:08 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-13 19:35:08 +0000
commit5081b4312072474fb08a9dc4b6017c11109f7351 (patch)
tree25eac8dd2925546b11b6e561110e30f5d69efc61 /package/openssl/openssl.mk
parent28294fe79824fffbf6fe559689e241da7a5295c0 (diff)
Store openssl files in /usr/lib/ssl
Diffstat (limited to 'package/openssl/openssl.mk')
-rw-r--r--package/openssl/openssl.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index cddcb379b..64e36a0f2 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -44,10 +44,12 @@ $(OPENSSL_DIR)/Makefile: $(OPENSSL_DIR)/.unpacked
CFLAGS="-DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 $(TARGET_CFLAGS)" \
PATH=$(TARGET_PATH) \
./Configure linux-$(OPENSSL_TARGET_ARCH) --prefix=/ \
- --openssldir=/usr/lib/ssl -L$(STAGING_DIR)/lib -ldl \
+ --openssldir=/lib/ssl -L$(STAGING_DIR)/lib -ldl \
-I$(STAGING_DIR)/usr/include $(OPENSSL_OPTS) threads \
shared no-idea no-mdc2 no-rc5)
+# --openssldir=/usr/lib/ssl results in files in /usr/usr/lib...
+
$(OPENSSL_DIR)/apps/openssl: $(OPENSSL_DIR)/Makefile
$(MAKE1) CC=$(TARGET_CC) -C $(OPENSSL_DIR) all build-shared
# Work around openssl build bug to link libssl.so with libcrypto.so.