summaryrefslogtreecommitdiff
path: root/xmake/platforms/linux/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-01-05 13:20:57 +0800
committerruki <[email protected]>2017-01-06 17:20:08 +0800
commit63463f04bee8ea369c2bbe0306f1e9316333f0dc (patch)
treebdc6c663fa8877f20779d6032c18db84c2626440 /xmake/platforms/linux/xmake.lua
parent06a7207823add9becd9f0929c9ed1b4eb2a1ab44 (diff)
uses loaded return value for language and platform
Diffstat (limited to 'xmake/platforms/linux/xmake.lua')
-rwxr-xr-xxmake/platforms/linux/xmake.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/platforms/linux/xmake.lua b/xmake/platforms/linux/xmake.lua
index bfefad521..b546fbbd8 100755
--- a/xmake/platforms/linux/xmake.lua
+++ b/xmake/platforms/linux/xmake.lua
@@ -68,7 +68,7 @@ platform("linux")
end
-- ok
- return
+ return _g
end
-- init flags for architecture
@@ -89,6 +89,9 @@ platform("linux")
-- init linkdirs and includedirs
_g.linkdirs = {"/usr/lib", "/usr/local/lib"}
_g.includedirs = {"/usr/include", "/usr/local/include"}
+
+ -- ok
+ return _g
end)