--- native/jni/java-nio/Makefile.in.orig	Fri Feb  6 02:01:33 2009
+++ native/jni/java-nio/Makefile.in	Mon Mar 28 15:59:04 2011
@@ -88,7 +88,7 @@
 CCLD = $(CC)
 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
-	$(LDFLAGS) -o $@
+	$(LDFLAGS) -o $@ -liconv
 SOURCES = $(libjavanio_la_SOURCES)
 DIST_SOURCES = $(libjavanio_la_SOURCES)
 ETAGS = etags
