X-Git-Url: https://git.chrismorgan.info/anymap/blobdiff_plain/036d7b0231a968f1d5ae14df49c5aa670423999e..6bf612e2eda6457762ce6a658b2d6f304ea09b19:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 4050c16..882cd30 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) \ $(filter $(subst *,%,$2),$d)) SRC := $(call rwildcard,src/,*.rs) -LIB := target/$(shell rustc --crate-file-name src/lib.rs --crate-type rlib) +LIB := target/$(shell rustc --print-file-name src/lib.rs) ifeq ($(LIB),target/) # We may not have rustc or the lib.rs file may be broken. # But don't break the rules on that account.