-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
meson cannot handle full paths in ar (windows) #9730
Copy link
Copy link
Closed
Description
after fixing #9727 locally.
meson/mesonbuild/compilers/detect.py
Line 295 in a2934ca
| if not {'lib', 'lib.exe', 'llvm-lib', 'llvm-lib.exe', 'xilib', 'xilib.exe'}.isdisjoint(linker): |
will not work if linker is a full path.
meson-native-x64-windows-llvm.log
and thus runs into:
meson/mesonbuild/compilers/detect.py
Lines 331 to 332 in a2934ca
| if p.returncode == 0: | |
| return ArLinker(linker) |
which is wrong. llvm-lib just prints an warning about an unknown option in the detection but that is all (which is why that code path is chosen.).
error:
"C:/Program Files/LLVM/bin/llvm-lib.exe" "csr" libpkgconf.a libpkgconf.a.p/libpkgconf_argvsplit.c.obj libpkgconf.a.p/libpkgconf_audit.c.obj libpkgconf.a.p/libpkgconf_bsdstubs.c.obj libpkgconf.a.p/libpkgconf_cache.c.obj libpkgconf.a.p/libpkgconf_client.c.obj libpkgconf.a.p/libpkgconf_dependency.c.obj libpkgconf.a.p/libpkgconf_fileio.c.obj libpkgconf.a.p/libpkgconf_fragment.c.obj libpkgconf.a.p/libpkgconf_parser.c.obj libpkgconf.a.p/libpkgconf_path.c.obj libpkgconf.a.p/libpkgconf_personality.c.obj libpkgconf.a.p/libpkgconf_pkg.c.obj libpkgconf.a.p/libpkgconf_queue.c.obj libpkgconf.a.p/libpkgconf_tuple.c.obj
csr: no such file or directory
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels