Support libboost_<module>-mt-<arch>.a for mingw-w64
See original GitHub issueAlas b2’s tagged layout now (I believe since boost 1.69, but not entirely sure) also includes the Windows-style x86 / x64 tags in their library naming when building for mingw-w64.
This means that dependencies/boost.py’s
# Note that we should also try to support:
# mingw-w64 / Windows : libboost_<module>-mt.a (location = <prefix>/mingw64/lib/)
# libboost_<module>-mt.dll.a
is now insufficient, we have to check for libboost_<module>-mt-<arch>.a and libboost_<module>-mt-<arch>.dll.a.
I guess always checking both would be the most robust?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
mingw-w64-x86_64-boost - MSYS2 Packages
Package: mingw-w64-x86_64-boost. Free peer-reviewed portable C++ source libraries (mingw-w64). Source Files · View Changes.
Read more >How to build Boost with static ICU via Msys2 / mingw-w64 ...
I'm trying to build boost 1.80 on windows 10 with the icu provided with msys2 (my goal in particular is that boost locale...
Read more >MinGW-w64 - for 32 and 64 bit Windows / Wiki2 / BuildingBoost
Building Boost with mingw-w64 ... This will create a directory C:\boost and build there. ... NOTE: for x64, some parts are not supported....
Read more >AUR (en) - mingw-w64-boost - Arch Linux
This needs linkflags="-Wl,-O1,--sort-common,--as-needed -fstack-protector" \ similar to the other packages. And is everything within the package() function ...
Read more >MinGW-w64
Mingw -w64 is an advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. It has forked it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Really, only boost can get away with this ridiculus tag layout without any working dependency system…
@jpakkane This issue should not block the
-rc[0-9]+releases, but should be resolved before the final 0.56.0 release since I would classify this as a bug fix.Ok, I’m sorry, that was my stupidity. It turns out I screwed up the meson update and was actually using an older version – and then was misled by the comments indicating an older check than what was actually done. Now updating meson properly resolves the issue.
I’m sorry about this!