diff options
| author | ruki <[email protected]> | 2015-07-13 16:17:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-07-13 16:17:09 +0800 |
| commit | 441be85afd1b39ded4584d502c434c17d27ad93e (patch) | |
| tree | 18fa32d39a41e1626c9755c888e3d37f1cacb3d1 /xmake/scripts/platform/macosx/install.lua | |
| parent | c5c7818a9f0592150e411790bba81a5f91866589 (diff) | |
add install for linux
Diffstat (limited to 'xmake/scripts/platform/macosx/install.lua')
| -rw-r--r-- | xmake/scripts/platform/macosx/install.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/platform/macosx/install.lua b/xmake/scripts/platform/macosx/install.lua index df254cebc..f5aee6ffe 100644 --- a/xmake/scripts/platform/macosx/install.lua +++ b/xmake/scripts/platform/macosx/install.lua @@ -42,7 +42,7 @@ function install._done_library(target) assert(outputdir) -- get target info - local info = target.archs["x86_64"] or target.archs["i386"] + local info = target.archs[xmake._ARCH] or target.archs["x86_64"] or target.archs["i386"] if not info then return -1 end -- check @@ -125,7 +125,7 @@ function install._done_binary(target) end -- get target info - local info = target.archs["x86_64"] or target.archs["i386"] + local info = target.archs[xmake._ARCH] or target.archs["x86_64"] or target.archs["i386"] if not info then return -1 end -- check |
