summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lhomme <robux4@ycbcr.xyz>2025-01-27 12:52:23 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2025-01-28 23:26:45 +0200
commitae1bb2f87b88a66591a152038f4271b83d575a92 (patch)
tree5a529e4cab9987a6daffd20016b29bd062943b13
parent57c5d00dcdd70bed47c9990dfc6a59026bed03f6 (diff)
downloadmeson-ae1bb2f87b88a66591a152038f4271b83d575a92.tar.gz
symbolextractor: use -nologo with lib.exe and llvm-lib.exe
It should be possible to just use the first line rather than the last.
-rw-r--r--mesonbuild/scripts/symbolextractor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/symbolextractor.py b/mesonbuild/scripts/symbolextractor.py
index 5c45253d5..f4d75a48b 100644
--- a/mesonbuild/scripts/symbolextractor.py
+++ b/mesonbuild/scripts/symbolextractor.py
@@ -207,7 +207,7 @@ def _get_implib_dllname(impfilename: str) -> T.Tuple[T.List[str], str]:
# var which is the list of library paths MSVC will search for import
# libraries while linking.
for lib in (['lib'], get_tool('llvm-lib')):
- output, e = call_tool_nowarn(lib + ['-list', impfilename])
+ output, e = call_tool_nowarn(lib + ['-list', '-nologo', impfilename])
if output:
# The output is a list of DLLs that each symbol exported by the import
# library is available in. We only build import libraries that point to