jdk/make/java/npt/Makefile
changeset 12047 320a714614e9
parent 9035 1255eb81cc2f
child 12292 0066b3386371
--- a/jdk/make/java/npt/Makefile	Tue Mar 06 10:25:45 2012 +0800
+++ b/jdk/make/java/npt/Makefile	Tue Mar 06 20:34:38 2012 +0000
@@ -67,6 +67,11 @@
   OTHER_LCF += -export:nptInitialize -export:nptTerminate
 endif
 
+# Add location of iconv header
+ifeq ($(PLATFORM), macosx))
+  OTHER_LDLIBS += -liconv
+endif
+
 #
 # Add to ambient vpath so we pick up the library files
 #