---
java/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/java/Makefile.am b/java/Makefile.am
index 81c20f266..1bad9a853 100644
--- a/java/Makefile.am
+++ b/java/Makefile.am
@@ -122,7 +122,8 @@ libguestfs_jni_la_CFLAGS = \
libguestfs_jni_la_LIBADD = \
$(top_builddir)/common/structs/libstructs.la \
$(top_builddir)/common/utils/libutils.la \
- $(top_builddir)/lib/libguestfs.la
+ $(top_builddir)/lib/libguestfs.la \
+ $(top_builddir)/gnulib/lib/libgnu.la
libguestfs_jni_la_LDFLAGS = -version-info $(JNI_VERSION_INFO) -shared
--
2.18.0