mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/openssl: also strip libraries with _OPENSSL_BIN is enabled
This commit is contained in:
@@ -60,12 +60,12 @@ $(OPENSSL_HOOK_POST_INSTALL):
|
|||||||
ifeq ($(BR2_PACKAGE_OPENSSL_BIN),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL_BIN),y)
|
||||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/openssl
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/openssl
|
||||||
else
|
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
|
rm -f $(TARGET_DIR)/usr/bin/openssl
|
||||||
endif
|
endif
|
||||||
rm -f $(TARGET_DIR)/usr/bin/c_rehash
|
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)
|
ifneq ($(BR2_PACKAGE_OPENSSL_ENGINES),y)
|
||||||
rm -rf $(TARGET_DIR)/usr/lib/engines
|
rm -rf $(TARGET_DIR)/usr/lib/engines
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user