[Libguestfs] [PATCH v2 5/6] rust: fix path to lib.rs

Pino Toscano ptoscano at redhat.com
Thu Dec 12 17:05:04 UTC 2019


It is a source file, so explicitly look for it in the source directory.
---
 rust/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/Makefile.am b/rust/Makefile.am
index 979e98bd4..edcccffa1 100644
--- a/rust/Makefile.am
+++ b/rust/Makefile.am
@@ -32,7 +32,7 @@ EXTRA_DIST = \
 
 if HAVE_RUST
 
-all: src/lib.rs
+all: $(srcdir)/src/lib.rs
 	$(top_builddir)/run $(CARGO) build --release
 
 TESTS = run-bindtests run-tests
-- 
2.23.0




More information about the Libguestfs mailing list