Skip to content

build: fix static_lib_name for non-MSVC Windows toolchains#1957

Open
ognevny wants to merge 1 commit into
denoland:mainfrom
ognevny:patch-1
Open

build: fix static_lib_name for non-MSVC Windows toolchains#1957
ognevny wants to merge 1 commit into
denoland:mainfrom
ognevny:patch-1

Conversation

@ognevny
Copy link
Copy Markdown

@ognevny ognevny commented Apr 13, 2026

only MSVC uses such library names, other toolchains (like MinGW) apply lib prefix and use .a extension for static libraries

only MSVC uses such library names, other toolchains (like MinGW) apply lib prefix and use .a extension for static libraries
@bartlomieju
Copy link
Copy Markdown
Member

Thanks for the PR, but I'm wary to fix something that is working correctly without associated test or rationale. Can you provide more context on this change?

@ognevny
Copy link
Copy Markdown
Author

ognevny commented Apr 22, 2026

when we use GCC or Clang even on Windows, they use Linux-like way to name libraries. that includes lib prefix and .a extension for static libraries. also Rust's definition of windows-gnu and windows-gnullvm follow this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants