summaryrefslogtreecommitdiff
path: root/package/openssl/openssl.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-04-28 18:30:10 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-04-28 18:30:10 +0000
commitdf1f80d645cda2a10d18020b9ac6549d7544c267 (patch)
treef90f38f8f91c45ad4a823db8c2b91d3ddf5dec48 /package/openssl/openssl.mk
parent98dcd8656d12a701293751f05437041fd52f5984 (diff)
package/openssl: also strip libraries with _OPENSSL_BIN is enabled
Diffstat (limited to 'package/openssl/openssl.mk')
-rw-r--r--package/openssl/openssl.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 62c2f33bd..eb3e803f1 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -60,12 +60,12 @@ $(OPENSSL_HOOK_POST_INSTALL):
ifeq ($(BR2_PACKAGE_OPENSSL_BIN),y)
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/openssl
else
- # libraries gets installed read only, so strip fails
- for i in $(addprefix $(TARGET_DIR)/usr/lib/,libcrypto.so.* libssl.so.*); \
- do chmod +w $$i; $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $$i; done
rm -f $(TARGET_DIR)/usr/bin/openssl
endif
rm -f $(TARGET_DIR)/usr/bin/c_rehash
+ # libraries gets installed read only, so strip fails
+ for i in $(addprefix $(TARGET_DIR)/usr/lib/,libcrypto.so.* libssl.so.*); \
+ do chmod +w $$i; $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $$i; done
ifneq ($(BR2_PACKAGE_OPENSSL_ENGINES),y)
rm -rf $(TARGET_DIR)/usr/lib/engines
else