On Fri, Mar 22, 2024 at 01:54:13PM +0100, Otto Moerbeek wrote: > Hi, > > at PowerDNS we are starting to use meson builds and I hit upon a snag > wrt boost. > > When searching for libs, only .a's are found, all boost .so's are > skipped. I tracked it down to line 608 in > > ./mesonbuild/dependencies/boost.py:filter_libraries: > > libs = [x for x in libs if x.version_matches(lib_vers)] > > Here lib_vers is set to the boost version 1_84, but presumably the .so > version is used to compare against. On other systems that is the > convention, but on OpenBSD that does not match. > > Disabling this line makes things work. > > So there seem to be two possible solutions: make the so version match > the boost version, or just skip the test. > > I think the latter is preferred. If that's ok, I'll prep a diff.
Agreed. Otherwise we defeat the purpose of SHARED_LIBS. It would be nice to have this discussed / pushed upstream if you could. https://github.com/mesonbuild/meson Thanks. -- Antoine