summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/c-static-dylib/Makefile
blob: 5b78005e3ee35ea62bef352b6659853d7df73da2 (plain)
1
2
3
4
5
6
7
8
9
include ../tools.mk

all: $(call NATIVE_STATICLIB,cfoo)
	$(RUSTC) foo.rs -C prefer-dynamic
	$(RUSTC) bar.rs
	rm $(call NATIVE_STATICLIB,cfoo)
	$(call RUN,bar)
	$(call REMOVE_DYLIBS,foo)
	$(call FAIL,bar)