Skip to content

Conversation

@jeremyd2019
Copy link
Member

@jeremyd2019 jeremyd2019 commented Apr 21, 2025

Fixes #5350

--libfiles and --libnames returns the (path to the) DLL, not the import library. I don't know if that's significant or not.

@jeremyd2019
Copy link
Member Author

llvm/llvm-project#136599

@lazka
Copy link
Member

lazka commented Apr 23, 2025

That reminds me of the patch in msys2/MINGW-packages@2ad570c but the commit message isn't helpful on how this was fixed (I guess not building with CMAKE_DLL_NAME_WITH_SOVERSION?)

@jeremyd2019
Copy link
Member Author

I believe it was fixed upstream, by adding the if (WIN32) block in llvm-shlib that I am now proposing to patch as if (WIN32 OR CYGWIN), after discussion on the upstream PR.

@jeremyd2019
Copy link
Member Author

My upstream PR was merged, so I'll merge this too now.

@jeremyd2019 jeremyd2019 merged commit b80730f into msys2:master Apr 24, 2025
2 checks passed
@jeremyd2019 jeremyd2019 deleted the llvm-config-fix branch April 24, 2025 20:56
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.

llvm-config reports error

2 participants