diff --git a/closed/make/modules/openjceplus/Copy.gmk b/closed/make/modules/openjceplus/Copy.gmk index 38071007de4..6343720e4d3 100644 --- a/closed/make/modules/openjceplus/Copy.gmk +++ b/closed/make/modules/openjceplus/Copy.gmk @@ -33,10 +33,15 @@ ifeq (true,$(BUILD_JGSKIT)) # Bundle GSKIT library ICC_DIR := $(GSKIT_HOME)/lib64 + ICC_DEST_DIR := $(LIB_DST_DIR)/icc + + ifeq ($(OPENJDK_TARGET_OS), aix) + ICC_DEST_DIR := $(LIB_DST_DIR) + endif # OPENJDK_TARGET_OS $(eval $(call SetupCopyFiles, COPY_ICC, \ SRC := $(ICC_DIR), \ - DEST := $(LIB_DST_DIR)/icc, \ + DEST := $(ICC_DEST_DIR), \ FILES := $(call FindFiles, $(ICC_DIR)), \ ))