From ae42bb94fd49a450690014b6039a812a251f64cd Mon Sep 17 00:00:00 2001 From: defanor Date: Wed, 17 May 2023 22:53:09 +0300 Subject: Rebuild the Rust-based static library on source file changes --- src/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index c0c7073..de0a68f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -44,9 +44,7 @@ noinst_LIBRARIES = librexmpp_rust.a librexmpp_la_LIBADD += librexmpp_rust.a librexmpp_la_LDFLAGS += -L. -lpthread -ldl -# todo: setup it properly, to rebuild whenever the sources are -# changed. -librexmpp_rust.a: +librexmpp_rust.a: $(librexmpp_rust_a_SOURCES) rustc --crate-type=staticlib -o $@ $(librexmpp_rust_a_SOURCES) else -- cgit v1.2.3