[Buildroot] svn commit: [26227] trunk/buildroot/package/openssl

jacmet at uclibc.org jacmet at uclibc.org
Tue Apr 28 18:30:11 UTC 2009


Author: jacmet
Date: 2009-04-28 18:30:10 +0000 (Tue, 28 Apr 2009)
New Revision: 26227

Log:
package/openssl: also strip libraries with _OPENSSL_BIN is enabled

Modified:
   trunk/buildroot/package/openssl/openssl.mk


Changeset:
Modified: trunk/buildroot/package/openssl/openssl.mk
===================================================================
--- trunk/buildroot/package/openssl/openssl.mk	2009-04-28 18:30:06 UTC (rev 26226)
+++ trunk/buildroot/package/openssl/openssl.mk	2009-04-28 18:30:10 UTC (rev 26227)
@@ -60,12 +60,12 @@
 ifeq ($(BR2_PACKAGE_OPENSSL_BIN),y)
 	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/openssl
 else
+	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
-	rm -f $(TARGET_DIR)/usr/bin/openssl
-endif
-	rm -f $(TARGET_DIR)/usr/bin/c_rehash
 ifneq ($(BR2_PACKAGE_OPENSSL_ENGINES),y)
 	rm -rf $(TARGET_DIR)/usr/lib/engines
 else




More information about the buildroot mailing list