8316294: AIX: Build fopen system call fails on file _BUILD_LIBJDWP_objectfilenames.txt

Reviewed-by: clanger, erikj
This commit is contained in:
Adam Farley 2023-09-19 14:13:40 +00:00 committed by Christoph Langer
parent f25c920fd3
commit 607bd4ed84

View File

@ -1165,9 +1165,9 @@ define SetupNativeCompilationBody
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
# If we are building static library, 'AR' on macosx may not support @-file.
# If we are building static library, 'AR' on macosx/aix may not support @-file.
ifeq ($$($1_TYPE), STATIC_LIBRARY)
ifeq ($(call isTargetOs, macosx), true)
ifeq ($(call isTargetOs, macosx aix), true)
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
endif