mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
build: fix make dist with java disabled
Fails for me with: No rule to make target 'com_redhat_et_libguestfs_GuestFS.h' libguestfs_jni_la_SOURCES is inside the `HAVE_JAVA` conditional, but apparently with automake that doesn't matter, and _SOURCES will always be copied into Makefile.in, making `make dist` fail even if we never built anything in the java/ directory. That header is in BUILT_SOURCES already which apparently does what we want (and is _not_ copied unconditionally to Makefile.in). So just drop the offending line Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -99,7 +99,6 @@ jnilib_LTLIBRARIES = libguestfs_jni.la
|
||||
jnilibdir = $(JNI_INSTALL_DIR)
|
||||
|
||||
libguestfs_jni_la_SOURCES = \
|
||||
com_redhat_et_libguestfs_GuestFS.h \
|
||||
actions-0.c \
|
||||
actions-1.c \
|
||||
actions-2.c \
|
||||
|
||||
Reference in New Issue
Block a user