diff options
| author | ruki <[email protected]> | 2018-08-02 22:29:48 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-08-02 08:58:50 +0800 |
| commit | 5aa5ddbdaa2c026d65fcb17e5e36ac4995032a8b (patch) | |
| tree | 62d77789a06fc39d0d37820f7ca69077edcae27b | |
| parent | a52fce5abc67b0e7c3bdadf2d3debc1dbb48c84a (diff) | |
modify shared library name for mingw
| -rw-r--r-- | CHANGELOG.md | 10 | ||||
| -rw-r--r-- | xmake/platforms/mingw/xmake.lua | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c1a51bcb..e45f000c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,11 @@ * Improve to detect Qt envirnoment and support mingw * Add debug and release rules to the auto-generated xmake.lua +* [#178](https://github.com/tboox/xmake/issues/178): Modify the shared library name for mingw. + +### Bug fixed + +* [#177](https://github.com/tboox/xmake/issues/177): Fix the dependent target link bug ## v2.2.1 @@ -474,6 +479,11 @@ * 改进Qt编译编译环境探测,增加对mingw sdk的支持 * 在自动扫描生成的xmake.lua中增加默认debug/release规则 +* [#178](https://github.com/tboox/xmake/issues/178): 修改mingw平台下的目标名 + +### Bugs修复 + +* [#177](https://github.com/tboox/xmake/issues/177): 修复被依赖的动态库target,如果设置了basename后链接失败问题 ## v2.2.1 diff --git a/xmake/platforms/mingw/xmake.lua b/xmake/platforms/mingw/xmake.lua index 7a9db9120..7b1968da2 100644 --- a/xmake/platforms/mingw/xmake.lua +++ b/xmake/platforms/mingw/xmake.lua @@ -35,7 +35,7 @@ platform("mingw") set_archs("i386", "x86_64") -- set formats - set_formats {static = {"lib", ".a"}, object = {"", ".o"}, shared = {"lib", ".so"}, binary = {"", ".exe"},symbol = {"", ".pdb"}} + set_formats {static = {"lib", ".a"}, object = {"", ".o"}, shared = {"", ".dll"}, binary = {"", ".exe"},symbol = {"", ".pdb"}} -- on check on_check("check") |
