aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-07-09 09:45:02 -0700
committerGitHub <noreply@github.com>2018-07-09 09:45:02 -0700
commit8cfb8fd02c86e1667ded9a7841d77204f96a4a6d (patch)
tree8f268877d97a6fd07631353a01d0594442315dd0 /mesonbuild/mesonmain.py
parent28a2e658f884443ae0afbf3ea8929c8c2005b34c (diff)
downloadmeson-8cfb8fd02c86e1667ded9a7841d77204f96a4a6d.zip
meson-8cfb8fd02c86e1667ded9a7841d77204f96a4a6d.tar.gz
meson-8cfb8fd02c86e1667ded9a7841d77204f96a4a6d.tar.bz2
Fix searching of shared libraries on OpenBSD (#3851)
* get_library_naming: Use templates instead of suffix/prefix pairs This commit does not change functionality, and merely sets the groundwork for a more flexibly naming implementation. * find_library: Fix manual searching on OpenBSD On OpenBSD, shared libraries are called libfoo.so.X.Y where X is the major version and Y is the minor version. We were assuming that it's libfoo.so and not finding shared libraries at all while doing manual searching, which meant we'd link statically instead. See: https://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs Now we use file globbing to do searching, and pick the first one that's a real file. Closes https://github.com/mesonbuild/meson/issues/3844 * find_library: Fix priority of library search in OpenBSD Also add unit tests for the library naming function so that it's absolutely clear what the priority list of naming is. Testing is done with mocking on Linux to ensure that local testing is easy
Diffstat (limited to 'mesonbuild/mesonmain.py')
0 files changed, 0 insertions, 0 deletions