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

# ignore-windows
# `ln` is actually `cp` on msys.

all:
	$(RUSTC) foo.rs --crate-type=rlib -o $(TMPDIR)/foo.xxx
	ln -nsf $(TMPDIR)/foo.xxx $(TMPDIR)/libfoo.rlib
	$(RUSTC) bar.rs -L $(TMPDIR)