Merge pull request #28 from DiamondLovesYou/master
Add $(RUSTFLAGS) to the shell that gets crate file names.
This commit is contained in:
commit
ffbf65be9f
|
|
@ -5,7 +5,8 @@ RUSTFLAGS += -O --cfg ndebug $(RUSTCFGS)
|
||||||
INSTALL_DIR := %PREFIX%
|
INSTALL_DIR := %PREFIX%
|
||||||
|
|
||||||
OPENSSL_LIB := lib.rs
|
OPENSSL_LIB := lib.rs
|
||||||
OPENSSL := $(foreach file,$(shell $(RUSTC) --print-file-name $(OPENSSL_LIB)),$(BUILDDIR)/$(file))
|
OPENSSL := $(foreach file, \
|
||||||
|
$(shell $(RUSTC) $(RUSTFLAGS) --print-file-name $(OPENSSL_LIB)),$(BUILDDIR)/$(file))
|
||||||
OPENSSL_TEST := $(BUILDDIR)/$(shell $(RUSTC) --test --print-file-name $(OPENSSL_LIB))
|
OPENSSL_TEST := $(BUILDDIR)/$(shell $(RUSTC) --test --print-file-name $(OPENSSL_LIB))
|
||||||
|
|
||||||
all: $(OPENSSL)
|
all: $(OPENSSL)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue