We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc145ce commit a5ec5ceCopy full SHA for a5ec5ce
tests/run-make/libs-through-symlinks/Makefile
@@ -3,10 +3,16 @@ include ../tools.mk
3
4
# ignore-windows
5
6
+ifeq ($(UNAME),AIX)
7
+LN_FLAGS := -sf
8
+else
9
+LN_FLAGS := -nsf
10
+endif
11
+
12
NAME := $(shell $(RUSTC) --print file-names foo.rs)
13
14
all:
15
mkdir -p $(TMPDIR)/outdir
16
$(RUSTC) foo.rs -o $(TMPDIR)/outdir/$(NAME)
- ln -nsf outdir/$(NAME) $(TMPDIR)
17
+ ln $(LN_FLAGS) outdir/$(NAME) $(TMPDIR)
18
RUSTC_LOG=rustc_metadata::loader $(RUSTC) bar.rs
0 commit comments