From 5aa5ddbdaa2c026d65fcb17e5e36ac4995032a8b Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 2 Aug 2018 22:29:48 +0800 Subject: modify shared library name for mingw --- CHANGELOG.md | 10 ++++++++++ xmake/platforms/mingw/xmake.lua | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) 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") -- cgit v1.3.1