11# ===========================================================================
2- # (c) Copyright IBM Corp. 2023, 2024 All Rights Reserved
2+ # (c) Copyright IBM Corp. 2023, 2025 All Rights Reserved
33# ===========================================================================
44# This code is free software; you can redistribute it and/or modify it
55# under the terms of the GNU General Public License version 2 only, as
@@ -33,7 +33,7 @@ ifeq (true,$(BUILD_OPENJCEPLUS))
3333 # Copy OpenJCEPlus native libraries.
3434 $(eval $(call SetupCopyFiles, OPENJCEPLUS_JGSKIT_LIBS_COPY, \
3535 SRC := $(OPENJCEPLUS_TOPDIR)/target, \
36- FILES := $(filter %.dll %.dylib %.so %.x , $(call FindFiles, $(OPENJCEPLUS_TOPDIR)/target)), \
36+ FILES := $(filter %$(SHARED_LIBRARY_SUFFIX) , $(call FindFiles, $(OPENJCEPLUS_TOPDIR)/target)), \
3737 FLATTEN := true, \
3838 DEST := $(LIB_DST_DIR), \
3939 ))
@@ -51,7 +51,7 @@ ifeq (true,$(BUILD_OPENJCEPLUS))
5151 $(eval $(call SetupCopyFiles, OPENJCEPLUS_OCK_COPY, \
5252 SRC := $(OPENJCEPLUS_OCK_DIR), \
5353 DEST := $(SUPPORT_OUTPUTDIR)/$(OPENJCEPLUS_OCK_SUB_DIR)/$(MODULE), \
54- FILES := $(call FindFiles, $(OPENJCEPLUS_OCK_DIR)), \
54+ FILES := $(filter %$(SHARED_LIBRARY_SUFFIX) %.txt, $( call FindFiles, $(OPENJCEPLUS_OCK_DIR) )), \
5555 ))
5656
5757 TARGETS += $(OPENJCEPLUS_OCK_COPY)
0 commit comments