Skip to content

Commit 398403e

Browse files
authored
Merge pull request #501 from taoliult/openj9_filter
Add filter when copying OCK libraries
2 parents c07503c + 8f25181 commit 398403e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

closed/make/modules/openjceplus/Copy.gmk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

Comments
 (0)