jdk/makefiles/GensrcX11Wrappers.gmk
changeset 14233 18fda1299ea9
parent 14231 a0c23c1c010f
child 15126 bceb690ccf35
--- a/jdk/makefiles/GensrcX11Wrappers.gmk	Mon Oct 29 13:04:40 2012 -0700
+++ b/jdk/makefiles/GensrcX11Wrappers.gmk	Mon Oct 29 13:41:38 2012 -0700
@@ -64,6 +64,8 @@
 	$(MKDIR) -p $(@D)
 	$(RM) $@ $@.tmp
 	(cd $(@D) && $(BUILD_CC) -m$* -o $@.tmp $< \
+              $(X_CFLAGS) \
+              $(X_LIBS) \
               -I$(JDK_OUTPUTDIR)/include \
               -I$(JDK_TOPDIR)/src/share/javavm/export \
               -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/javavm/export \