blob: 38f5f9b1f28d8a1413ef960c4e233af4bce6ecbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- jdk/make/GenerateSources.gmk.orig
+++ jdk/make/GenerateSources.gmk
@@ -73,9 +73,11 @@ ifneq ($(OPENJDK_TARGET_OS), windows)
GENSRC += $(GENSRC_OSX_ICONS)
endif
- ifneq ($(OPENJDK_TARGET_OS), macosx)
- include gensrc/GensrcX11Wrappers.gmk
- GENSRC += $(GENSRC_X11WRAPPERS)
+ ifndef BUILD_HEADLESS_ONLY
+ ifneq ($(OPENJDK_TARGET_OS), macosx)
+ include gensrc/GensrcX11Wrappers.gmk
+ GENSRC += $(GENSRC_X11WRAPPERS)
+ endif
endif
endif
|