mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
java: Make test cases depend on jar file.
This fixes parallel builds. The error you would have seen was: error: error reading libguestfs-1.21.25.jar; zip file is empty
This commit is contained in:
@@ -131,7 +131,7 @@ TESTS_ENVIRONMENT = $(top_builddir)/run --test
|
||||
|
||||
noinst_DATA = Bindtests.class $(java_tests:.java=.class)
|
||||
|
||||
t/%.class: t/%.java
|
||||
t/%.class: t/%.java libguestfs-$(VERSION).jar
|
||||
mkdir -p t
|
||||
$(JAVAC) $(JAVAC_FLAGS) -classpath libguestfs-$(VERSION).jar -d $(builddir)/t $<
|
||||
|
||||
|
||||
Reference in New Issue
Block a user