Skip to content

Commit b5d705e

Browse files
committed
8379499: [AIX] headless-only build of libjawt.so fails
Backport-of: 4d42ce2
1 parent bf5901b commit b5d705e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

make/modules/java.desktop/lib/AwtLibraries.gmk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2011, 2026, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -423,6 +423,9 @@ endif
423423
ifeq ($(call isTargetOs, linux)+$(ENABLE_HEADLESS_ONLY), true+true)
424424
LIBJAWT_CFLAGS += -DHEADLESS
425425
endif
426+
ifeq ($(call isTargetOs, aix)+$(ENABLE_HEADLESS_ONLY), true+true)
427+
LIBJAWT_CFLAGS += -DHEADLESS
428+
endif
426429

427430
ifeq ($(call isTargetOs, windows)+$(call isTargetCpu, x86), true+true)
428431
LIBJAWT_LIBS_windows := kernel32.lib

0 commit comments

Comments
 (0)