aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r--mesonbuild/compilers.py5
1 files changed, 2 insertions, 3 deletions
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):