diff make/java/npt/Makefile @ 489:5df63dc24cfe

BSD port initial load Contributed-by: Greg Lewis <glewis@eyesbeyond.com>, Kurt Miller <kurt@intricatesoftware.com>, Landon Fuller <landonf@bikemonkey.org>, Jung-uk Kim <jkim@freebsd.org>, Christos Zoulas <christos@zoulas.com>, FreeBSD Foundation <board@freebsdfoundation.org>
author mr
date Wed, 20 Aug 2008 10:30:29 -0700
parents c51121419e30
children 29554abae9fa
line wrap: on
line diff
--- a/make/java/npt/Makefile	Wed Aug 20 10:18:46 2008 -0700
+++ b/make/java/npt/Makefile	Wed Aug 20 10:30:29 2008 -0700
@@ -65,6 +65,13 @@
   OTHER_LCF += -export:nptInitialize -export:nptTerminate
 endif
 
+# Add location of iconv headers
+ifeq ($(PLATFORM), bsd)
+  ICONV_DIR = /usr/local
+  CPPFLAGS += -I$(ICONV_DIR)/include
+  OTHER_LDLIBS += -L$(ICONV_DIR)/lib -liconv
+endif
+
 #
 # Add to ambient vpath so we pick up the library files
 #