Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ninjabackend: ensure that native static libraries use Unix-style naming #14376

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kasper93
Copy link
Contributor

@kasper93 kasper93 commented Mar 16, 2025

Fixes: #14366

@kasper93 kasper93 force-pushed the rust-msvc branch 2 times, most recently from 98401e9 to 2117316 Compare March 17, 2025 00:15
This will be handled by target binary link. And if it's not compatible
with what Rust uses, it wouldn't work anyway.
Depending on the target/linker, rustc --print native-static-libs may
output MSVC-style names. Converting these to Unix-style is safe, as the
list contains only native static libraries.

Fixes linking with C targets built with clang on x86_64-pc-windows-msvc
target.

Fixes: mesonbuild#14366
@kasper93 kasper93 force-pushed the rust-msvc branch 2 times, most recently from 19a05d2 to 32e8237 Compare March 24, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants