summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/mixing-libs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make-fulldeps/mixing-libs/Makefile')
-rw-r--r--src/test/run-make-fulldeps/mixing-libs/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/mixing-libs/Makefile b/src/test/run-make-fulldeps/mixing-libs/Makefile
new file mode 100644
index 000000000..babeeef16
--- /dev/null
+++ b/src/test/run-make-fulldeps/mixing-libs/Makefile
@@ -0,0 +1,9 @@
+-include ../tools.mk
+
+all:
+ $(RUSTC) rlib.rs
+ $(RUSTC) dylib.rs
+ $(RUSTC) rlib.rs --crate-type=dylib
+ $(RUSTC) dylib.rs
+ $(call REMOVE_DYLIBS,rlib)
+ $(RUSTC) prog.rs && exit 1 || exit 0