在用mingw交叉编译TPT时查看wiki上的编译教程时
发现编译出来的文件有dll依赖问题
于是在它的win配置文件添加:
[built-in options]
c_args = ['-O2','-mwindows']
c_link_args=['-static']
cpp_args = ['-O2','-mwindows']
cpp_link_args=['-static']
然后重新生产编译即可
标签:配置文件,静态,args,开启,编译,mingw,链接 From: https://www.cnblogs.com/Lemon-233/p/17015987.html