diff --git a/security/coreconf/rules.mk b/security/coreconf/rules.mk index 443c5ba3f655..ffa1ed6e0b68 100644 --- a/security/coreconf/rules.mk +++ b/security/coreconf/rules.mk @@ -113,6 +113,9 @@ ifdef LIBRARY $(INSTALL) -m 664 $(LIBRARY) $(SOURCE_LIB_DIR) endif ifdef SHARED_LIBRARY +ifeq ($(OS_TARGET),OS2) + rm -f $(SOURCE_LIB_DIR)/$(notdir $(SHARED_LIBRARY)) +endif $(INSTALL) -m 775 $(SHARED_LIBRARY) $(SOURCE_LIB_DIR) endif ifdef IMPORT_LIBRARY