summaryrefslogtreecommitdiff
path: root/xmake/modules/detect
diff options
context:
space:
mode:
authorruki <[email protected]>2019-05-23 00:46:44 +0800
committerruki <[email protected]>2019-05-22 22:40:27 +0800
commit744ce235235533e695430daa1f96cbd35c69ac01 (patch)
tree8ed3e616bbc31655eb6d8a369c5eafcba187a528 /xmake/modules/detect
parentb91f9e89bed5bf3db0f7a0e78b6c69666eab21eb (diff)
add ndk_stdcxx option for ndk
Diffstat (limited to 'xmake/modules/detect')
-rw-r--r--xmake/modules/detect/sdks/find_ndk.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_ndk.lua b/xmake/modules/detect/sdks/find_ndk.lua
index 16631fe89..81269cc37 100644
--- a/xmake/modules/detect/sdks/find_ndk.lua
+++ b/xmake/modules/detect/sdks/find_ndk.lua
@@ -38,7 +38,7 @@ function _find_ndkdir(sdkdir)
-- get ndk directory
if sdkdir and os.isdir(sdkdir) then
- return sdkdir
+ return path.translate(sdkdir)
end
end