8316532: Native library copying in BuildMicrobenchmark.gmk cause dups on macOS

Reviewed-by: ihse, redestad
This commit is contained in:
Erik Joelsson 2023-09-20 20:36:16 +00:00
parent 3301fb1e8a
commit 3461c7b165

View File

@ -156,10 +156,10 @@ $(eval $(call SetupTestFilesCompilation, BUILD_MICROBENCHMARK_LIBRARIES, \
# Setup copy of native dependencies to image output dir
$(eval $(call SetupCopyFiles, COPY_MICROBENCHMARK_NATIVE, \
SRC := $(MICROBENCHMARK_NATIVE_OUTPUT), \
SRC := $(MICROBENCHMARK_NATIVE_OUTPUT)/lib, \
DEST := $(MICROBENCHMARK_IMAGE_DIR)/native, \
FILES := $(BUILD_MICROBENCHMARK_LIBRARIES), \
FLATTEN := true, \
FILES := $(filter $(MICROBENCHMARK_NATIVE_OUTPUT)/lib/%, \
$(BUILD_MICROBENCHMARK_LIBRARIES)), \
))
all: $(MICROBENCHMARK_JAR) $(BUILD_MICROBENCHMARK_LIBRARIES) $(COPY_MICROBENCHMARK_NATIVE)