summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/symlinked-rlib/Makefile
blob: 49d3f220a353fd598373e8324558476757738249 (plain)
1
2
3
4
5
6
7
8
9
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)