diff options
author | defanor <defanor@uberspace.net> | 2023-05-17 22:53:09 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2023-05-17 22:53:09 +0300 |
commit | ae42bb94fd49a450690014b6039a812a251f64cd (patch) | |
tree | 70ce9b280c186839c1967132fe4c1a7ece0a3024 | |
parent | f0f947ac56f58ac5e047bdcafcdc8b9a1a1e34ee (diff) |
Rebuild the Rust-based static library on source file changes
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 1 insertions, 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 |