summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/extern-multiple-copies2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make-fulldeps/extern-multiple-copies2/Makefile')
-rw-r--r--src/test/run-make-fulldeps/extern-multiple-copies2/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/extern-multiple-copies2/Makefile b/src/test/run-make-fulldeps/extern-multiple-copies2/Makefile
new file mode 100644
index 000000000..567d7e78a
--- /dev/null
+++ b/src/test/run-make-fulldeps/extern-multiple-copies2/Makefile
@@ -0,0 +1,10 @@
+-include ../tools.mk
+
+all:
+ $(RUSTC) foo1.rs
+ $(RUSTC) foo2.rs
+ mkdir $(TMPDIR)/foo
+ cp $(TMPDIR)/libfoo1.rlib $(TMPDIR)/foo/libfoo1.rlib
+ $(RUSTC) bar.rs \
+ --extern foo1=$(TMPDIR)/foo/libfoo1.rlib \
+ --extern foo2=$(TMPDIR)/libfoo2.rlib