summaryrefslogtreecommitdiff
path: root/xmake/core/package
diff options
context:
space:
mode:
authorruki <[email protected]>2018-09-28 22:41:41 +0800
committerruki <[email protected]>2018-09-28 10:10:09 +0800
commit27cf709dda7b6626822534a7e2d18b41cf315c4f (patch)
tree15386f2ab11ba74623657ad92dfef509a1cf86d1 /xmake/core/package
parentb92e08d2021a32fbd9fe4fc570825e053f8a8d17 (diff)
add automake
Diffstat (limited to 'xmake/core/package')
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 39d356127..b779a1e83 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -624,7 +624,7 @@ end
-- get the prefix directory
function package.prefixdir(is_global, is_debug, plat, arch)
- return path.join(is_global and global.directory() or config.directory(), "prefix", is_debug and "debug" or "release", plat or os.host(), arch or os.arch())
+ return path.join(is_global and global.directory() or config.directory(), "prefix", plat or os.host(), arch or os.arch(), is_debug and "debug" or "release")
end
-- get the prefix info