aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--authors.txt1
-rw-r--r--mesonbuild/compilers.py5
2 files changed, 3 insertions, 3 deletions
diff --git a/authors.txt b/authors.txt
index 02ba5e3..bb6d3cd 100644
--- a/authors.txt
+++ b/authors.txt
@@ -70,3 +70,4 @@ Marc Becker
Michal Sojka
Aaron Small
Joe Baldino
+Peter Harris
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py
index 7f1897c..f16a05f 100644
--- a/mesonbuild/compilers.py
+++ b/mesonbuild/compilers.py
@@ -3055,9 +3055,8 @@ class VisualStudioLinker(StaticLinker):
return VisualStudioCCompiler.unix_args_to_native(args)
def get_link_debugfile_args(self, targetfile):
- pdbarr = targetfile.split('.')[:-1]
- pdbarr += ['pdb']
- return ['/DEBUG', '/PDB:' + '.'.join(pdbarr)]
+ # Static libraries do not have PDB files
+ return []
class ArLinker(StaticLinker):