We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
注:如果是问题报障或者特性请求,请选择报告缺陷,特性请求模板,否则一律不回复。
问题报障
特性请求
报告缺陷
xmake-io/xmake-repo#640
mingw上动态库的import library默认后缀是libfoo.dll.a,链接时加的flag应为-lfoo,与静态库保持一致。在mingw平台使用时,xmake的package自动查找对于动态库应先自动查找.dll.a作为后缀;xmake.lua中添加add_links时应自动识别用户系统上.dll.a后缀的库
-lfoo
The text was updated successfully, but these errors were encountered:
这个和 #1589 这个到时候可以一起搞下。。
Sorry, something went wrong.
可以测试下这个 patch #1675
这个改动也许会影响部分 mingw case ,毕竟测试不全,也许会有遗漏,帮忙多测测吧。
https://github.com/xmake-io/xmake/blob/master/xmake/modules/package/manager/xmake/find_package.lua
这里自动查找也要改
https://github.com/xmake-io/xmake/blob/master/xmake/modules/package/manager/xmake/find_package.lua 这里自动查找也要改
这里不是已经改了么。。看 mingw 分支
已经合进去了,我这边测试 ok,你可以看下,有问题再开
No branches or pull requests
描述讨论详情
xmake-io/xmake-repo#640
mingw上动态库的import library默认后缀是libfoo.dll.a,链接时加的flag应为
-lfoo
,与静态库保持一致。在mingw平台使用时,xmake的package自动查找对于动态库应先自动查找.dll.a作为后缀;xmake.lua中添加add_links时应自动识别用户系统上.dll.a后缀的库The text was updated successfully, but these errors were encountered: