summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/go.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/go.lua')
-rw-r--r--xmake/modules/core/tools/go.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/go.lua b/xmake/modules/core/tools/go.lua
index 0d3ef49db..aaa943063 100644
--- a/xmake/modules/core/tools/go.lua
+++ b/xmake/modules/core/tools/go.lua
@@ -83,6 +83,11 @@ function nf_includedir(self, dir)
return "-I " .. os.args(dir)
end
+-- make the sysincludedir flag
+function nf_sysincludedir(self, dir)
+ return nf_includedir(self, dir)
+end
+
-- make the linkdir flag
function nf_linkdir(self, dir)
return "-L " .. os.args(dir)