Skip to content
Snippets Groups Projects
Commit 6858b348 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't use ln -r (relative) option for 'symlinks' build target

As reported by Pasta68K:
FreeBSD's ln doesn't support -r

ln -sfr clang.freebsd..exe.release/* /sbbs/exec
ln: illegal option -- r

So use realpath instead. Hopefully all the targeted *nix platforms include
'realpath'.
parent 86825b66
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4552 passed
......@@ -110,9 +110,9 @@ install: all
.PHONY: symlinks
symlinks: all
ln -sfr $(EXEODIR)/* $(SBBSEXEC)
ln -sfr $(LIBODIR)/* $(SBBSEXEC)
ln -sfr */$(EXEODIR)/* $(SBBSEXEC)
ln -sf `realpath $(EXEODIR)/*` $(SBBSEXEC)
ln -sf `realpath $(LIBODIR)/*` $(SBBSEXEC)
ln -sf `realpath */$(EXEODIR)/*` $(SBBSEXEC)
endif
.PHONY: FORCE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment