]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/symlinked-libraries/Makefile
Rollup merge of #106605 - notriddle:notriddle/outdated-rustbook, r=GuillaumeGomez
[rust.git] / tests / run-make-fulldeps / symlinked-libraries / Makefile
1 include ../tools.mk
2
3 # ignore-windows
4 # `ln` is actually `cp` on msys.
5
6 all:
7         $(RUSTC) foo.rs -C prefer-dynamic
8         mkdir -p $(TMPDIR)/other
9         ln -nsf $(TMPDIR)/$(call DYLIB_GLOB,foo) $(TMPDIR)/other
10         $(RUSTC) bar.rs -L $(TMPDIR)/other