Use proper flags for compilation.
--- a/make/UpdateX11Wrappers.gmk Wed Feb 28 20:50:11 2018 +0100
+++ b/make/UpdateX11Wrappers.gmk Wed Feb 28 20:59:50 2018 +0100
@@ -75,7 +75,8 @@
PROGRAM := data_generator, \
OUTPUT_DIR := $(X11WRAPPERS_OUTPUT)/bin, \
EXTRA_FILES := $(X11WRAPPERS_OUTPUT)/src/data_generator.c, \
- CFLAGS := $(X_CFLAGS) $(DATA_GENERATOR_INCLUDES), \
+ CFLAGS := $(X_CFLAGS) $(DATA_GENERATOR_INCLUDES) $(CFLAGS_JDKEXE), \
+ LDFLAGS := $(LDFLAGS_JDKEXE), \
LIBS := $(X_LIBS) -lc, \
OBJECT_DIR := $(X11WRAPPERS_OUTPUT)/objs, \
))