aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-10-06 14:42:58 +0300
committerGitHub <noreply@github.com>2019-10-06 14:42:58 +0300
commit5bbea6be05c9740aedcd7f170c24a6b2c098cd01 (patch)
tree049a9bcfa351be09bcd5d9b430e373cb46cfbdd4 /mesonbuild/compilers/compilers.py
parent507cf479411050b76dc8724de1b3b464b8f965e3 (diff)
parent4185a000578a8f51ab8d2358c4bf2f93fd507d85 (diff)
downloadmeson-5bbea6be05c9740aedcd7f170c24a6b2c098cd01.zip
meson-5bbea6be05c9740aedcd7f170c24a6b2c098cd01.tar.gz
meson-5bbea6be05c9740aedcd7f170c24a6b2c098cd01.tar.bz2
Merge pull request #5992 from mensinda/cmakeFixSoVersion
cmake: fix detection of libraries with .so version
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 2c9508b..b79fa41 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -39,7 +39,7 @@ Also add corresponding autodetection code in environment.py."""
header_suffixes = ('h', 'hh', 'hpp', 'hxx', 'H', 'ipp', 'moc', 'vapi', 'di')
obj_suffixes = ('o', 'obj', 'res')
-lib_suffixes = ('a', 'lib', 'dll', 'dylib', 'so')
+lib_suffixes = ('a', 'lib', 'dll', 'dll.a', 'dylib', 'so')
# Mapping of language to suffixes of files that should always be in that language
# This means we can't include .h headers here since they could be C, C++, ObjC, etc.
lang_suffixes = {