summaryrefslogtreecommitdiffstats
path: root/tests/run-make/prefer-dylib/Makefile
blob: cc26e70ae67cad25cba4136010ba34e9a87719de (plain)
1
2
3
4
5
6
7
8
9
# ignore-cross-compile
include ../tools.mk

all:
	$(RUSTC) bar.rs --crate-type=dylib --crate-type=rlib -C prefer-dynamic
	$(RUSTC) foo.rs -C prefer-dynamic
	$(call RUN,foo)
	rm $(TMPDIR)/*bar*
	$(call FAIL,foo)