mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
java: link libguestfs_jni against libutils
The JNI library uses CLEANUP_FREE macros, whose functions are built in the internal libutils. Currently, trying to use functions that use CLEANUP_FREE variables will cause the java execution to stop with a symbol lookup error (for guestfs_int_cleanup_free).
This commit is contained in:
@@ -115,7 +115,9 @@ libguestfs_jni_la_CFLAGS = \
|
||||
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
|
||||
$(JNI_CFLAGS)
|
||||
|
||||
libguestfs_jni_la_LIBADD = $(top_builddir)/lib/libguestfs.la
|
||||
libguestfs_jni_la_LIBADD = \
|
||||
$(top_builddir)/common/utils/libutils.la \
|
||||
$(top_builddir)/lib/libguestfs.la
|
||||
|
||||
libguestfs_jni_la_LDFLAGS = -version-info $(JNI_VERSION_INFO) -shared
|
||||
|
||||
|
||||
Reference in New Issue
Block a user