diff options
Diffstat (limited to 'src/test/run-make-fulldeps/c-static-dylib/Makefile')
-rw-r--r-- | src/test/run-make-fulldeps/c-static-dylib/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/c-static-dylib/Makefile b/src/test/run-make-fulldeps/c-static-dylib/Makefile new file mode 100644 index 000000000..f88786857 --- /dev/null +++ b/src/test/run-make-fulldeps/c-static-dylib/Makefile @@ -0,0 +1,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) |