[Libguestfs] [PATCH] java: Rename JNI target, use JNI_INSTALL_DIR as provided through configure
Hilko Bengen
bengen at hilluzination.de
Thu Feb 2 22:25:43 UTC 2012
This allows us to install the shared object to a different (e.g.
/usr/lib/jni) with less pain.
---
java/Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/java/Makefile.am b/java/Makefile.am
index ef78773..d9db6f4 100644
--- a/java/Makefile.am
+++ b/java/Makefile.am
@@ -67,7 +67,8 @@ libguestfs-${VERSION}.jar: $(libguestfs_jar_class_files)
# JNI source.
-lib_LTLIBRARIES = libguestfs_jni.la
+jnilib_LTLIBRARIES = libguestfs_jni.la
+jnilibdir = $(JNI_INSTALL_DIR)
libguestfs_jni_la_SOURCES = \
com_redhat_et_libguestfs_GuestFS.h \
com_redhat_et_libguestfs_GuestFS.c
--
1.7.9
More information about the Libguestfs
mailing list