summaryrefslogtreecommitdiff
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
parent7d74ef63935e4294c5b5ed71a15f67eb7211cbea (diff)
fix os.ln
m---------core/src/tbox/tbox0
-rw-r--r--xmake/core/base/os.lua3
2 files changed, 0 insertions, 3 deletions
diff --git a/core/src/tbox/tbox b/core/src/tbox/tbox
-Subproject f4970bcd0fcc05b09742452a4b3b3d2d1055569
+Subproject d27f2807173dbc787582b6169e8e854a0ef396f
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