Skip to content

Commit

Permalink
On OpenBSD there's no convention the .so numbers equal the boost vers…
Browse files Browse the repository at this point in the history
…ion.

Skip the check filtering on that condition.
  • Loading branch information
omoerbeek authored and eli-schwartz committed Apr 7, 2024
1 parent e455cb0 commit 24a96a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mesonbuild/dependencies/boost.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,8 @@ def filter_libraries(self, libs: T.List[BoostLibraryFile], lib_vers: str) -> T.L
# mlog.debug(' - vscrt: {}'.format(vscrt))
libs = [x for x in libs if x.static == self.static or not self.explicit_static]
libs = [x for x in libs if x.mt == self.multithreading]
libs = [x for x in libs if x.version_matches(lib_vers)]
if not self.env.machines[self.for_machine].is_openbsd():
libs = [x for x in libs if x.version_matches(lib_vers)]
libs = [x for x in libs if x.arch_matches(self.arch)]
libs = [x for x in libs if x.vscrt_matches(vscrt)]
libs = [x for x in libs if x.nvsuffix != 'dll'] # Only link to import libraries
Expand Down

0 comments on commit 24a96a3

Please sign in to comment.