jdk/makefiles/CompileNativeLibraries.gmk
changeset 14233 18fda1299ea9
parent 14231 a0c23c1c010f
child 14235 540a11e15fbb
--- a/jdk/makefiles/CompileNativeLibraries.gmk	Mon Oct 29 13:04:40 2012 -0700
+++ b/jdk/makefiles/CompileNativeLibraries.gmk	Mon Oct 29 13:41:38 2012 -0700
@@ -3385,6 +3385,8 @@
 		INCLUDE_FILES:=$(LIBAWT_LWAWT_FILES),\
 		OPTIMIZATION:=LOW, \
 		CFLAGS:=$(CFLAGS_JDKLIB) \
+                        $(X_CFLAGS) \
+                        $(X_LIBS) \
                         $(foreach dir,$(LIBAWT_LWAWT_DIRS),-I$(dir)) \
                         -I$(JDK_TOPDIR)/src/macosx/native/sun/osxapp \
                         -I$(JDK_TOPDIR)/src/share/native/sun/java2d \