We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 209bb97 commit edfba4dCopy full SHA for edfba4d
1 file changed
GNUmakefile
@@ -67,12 +67,10 @@ TOYBOX_SRC := $(TOYBOX_ROOT)/toybox-$(TOYBOX_VER)
67
# todo: support building wasm
68
OS := $(or $(CARGO_BUILD_TARGET),$(shell rustc --print host-tuple))
69
70
-# Windows does not allow symlink by default.
71
-# Allow to override LN for AppArmor.
72
-ifneq (,$(findstring windows,$(OS)))
73
- LN ?= ln -f
74
-endif
75
-LN ?= ln -sf
+# hardlinks are better default since
+# - Windows(cygwin) does not allow symlink by default
+# - std::env:current_exe resolves symlink
+LN ?= ln -f
76
77
SELINUX_PROGS := \
78
chcon \
0 commit comments