diff options
| author | ruki <[email protected]> | 2019-01-29 22:38:16 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-29 09:49:37 +0800 |
| commit | f0efa9f471824ead88a98ca8cf3387c88606e051 (patch) | |
| tree | 39c3821d35aeb8342b744225e9b377ae525ddcf7 /xmake/core/project/project.lua | |
| parent | 2a8b05d146a9fd53aa5784e36dca45cbce2ce272 (diff) | |
fix load requires with alias
Diffstat (limited to 'xmake/core/project/project.lua')
| -rw-r--r-- | xmake/core/project/project.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua index 4d5c67dab..0d7289a90 100644 --- a/xmake/core/project/project.lua +++ b/xmake/core/project/project.lua @@ -638,7 +638,7 @@ function project._load_requires() instance = table.inherit(requireinfo) -- save name and info - instance._NAME = packagename + instance._NAME = alias or packagename instance._INFO = { __requirestr = requirestr, __extrainfo = extrainfo } end |
