summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-13 22:42:33 +0800
committerruki <[email protected]>2020-11-13 22:42:33 +0800
commitce95cb1e67123ef8ef30736a302e5f4138ca9772 (patch)
treeaba6bd77044b6799d69775db1141ba442428f9d7 /xmake/core/base/os.lua
parent7d74ef63935e4294c5b5ed71a15f67eb7211cbea (diff)
fix os.ln
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 4b57e02f5..6923aaa0c 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -434,9 +434,6 @@ end
-- link file or directory to the new symfile
function os.ln(srcpath, dstpath)
- if os.host() == "windows" then
- return false, string.format("symlink is not supported!")
- end
if not os.link(srcpath, dstpath) then
return false, string.format("cannot link %s to %s, %s", srcpath, dstpath, os.strerror())
end