[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] fix JNI flags in libvirt-java build



This tiny patch adds $LIBVIRT_CFLAGS to the flags used when compiling
the Java Native Interface C code in libvirt-java.  This allows one to
build, for example, against a local (non-installed) libvirt tree.

Dave


commit dfd82305b4c871244dff2f9057e8b73a043c0213
Author: David Lively <dlively virtualiron com>
Date:   Fri Oct 3 09:28:38 2008 -0400

    vi-patch: fix-jni-cflags
    
    Include LIBVIRT_CFLAGS in the CFLAGS used for the libvirt JNI sources.

diff --git a/src/jni/Makefile.am b/src/jni/Makefile.am
index 8feed24..ad1158a 100644
--- a/src/jni/Makefile.am
+++ b/src/jni/Makefile.am
@@ -52,7 +52,7 @@ libvirt_jni_la_SOURCES = \
 nodist_libvirt_jni_la_SOURCES = $(GENERATED)
 libvirt_jni_la_LIBADD = $(LIBVIRT_LIBS)
 libvirt_jni_la_LDFLAGS = -version-info  @JNI_VERSION_INFO@
-libvirt_jni_la_CFLAGS = @JNI_CFLAGS@
+libvirt_jni_la_CFLAGS = $(LIBVIRT_CFLAGS) @JNI_CFLAGS@
 
 
 CLEANFILES = \

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]