summaryrefslogtreecommitdiffstats
path: root/make/openssl.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-12 08:10:40 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-12 08:10:40 +0000
commitd322f37644811964ee7da64c4d3fcffd8898869f (patch)
treef7e2ba6c81659bb3db7257d894df9bffe7507db0 /make/openssl.mk
parente03eb9438ec2a2a8036f025df8cd112c1b686c63 (diff)
downloadbuildroot-novena-d322f37644811964ee7da64c4d3fcffd8898869f.tar.gz
buildroot-novena-d322f37644811964ee7da64c4d3fcffd8898869f.zip
Lots and lots of changes
Diffstat (limited to 'make/openssl.mk')
-rw-r--r--make/openssl.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/make/openssl.mk b/make/openssl.mk
index 89490a391..9dc5e34dc 100644
--- a/make/openssl.mk
+++ b/make/openssl.mk
@@ -32,9 +32,11 @@ $(OPENSSL_DIR)/apps/openssl: $(OPENSSL_DIR)/Makefile
$(STAGING_DIR)/lib/libcrypto.so.0: $(OPENSSL_DIR)/apps/openssl
$(MAKE) CC=$(TARGET_CC) INSTALL_PREFIX=$(STAGING_DIR) -C $(OPENSSL_DIR) install
cp -fa $(OPENSSL_DIR)/libcrypto.so* $(STAGING_DIR)/lib/
+ chmod a-x $(STAGING_DIR)/lib/libcrypto.so.0.9.7
(cd $(STAGING_DIR)/lib; ln -fs libcrypto.so.0.9.7 libcrypto.so)
(cd $(STAGING_DIR)/lib; ln -fs libcrypto.so.0.9.7 libcrypto.so.0)
cp -fa $(OPENSSL_DIR)/libssl.so* $(STAGING_DIR)/lib/
+ chmod a-x $(STAGING_DIR)/lib/libssl.so.0.9.7
(cd $(STAGING_DIR)/lib; ln -fs libssl.so.0.9.7 libssl.so)
(cd $(STAGING_DIR)/lib; ln -fs libssl.so.0.9.7 libssl.so.0)
@@ -48,6 +50,12 @@ $(TARGET_DIR)/usr/lib/libssl.a: $(TARGET_DIR)/lib/libcrypto.so.0
cp -a $(STAGING_DIR)/include/openssl $(TARGET_DIR)/usr/include/
cp -dpf $(STAGING_DIR)/lib/libssl.a $(TARGET_DIR)/usr/lib/
cp -dpf $(STAGING_DIR)/lib/libcrypto.a $(TARGET_DIR)/usr/lib/
+ rm -f $(TARGET_DIR)/lib/libcrypto.so
+ rm -f $(TARGET_DIR)/lib/libssl.so
+ (cd $(TARGET_DIR)/usr/lib; \
+ ln -fs /lib/libssl.so.0.9.7 libssl.so; \
+ ln -fs /lib/libcrypto.so.0.9.7 libcrypto.so; \
+ )
touch -c $(TARGET_DIR)/usr/lib/libssl.a
openssl-headers: $(TARGET_DIR)/usr/lib/libssl.a