-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
meson does not support -libpath: in LDFLAGS environment variable #6101
Comments
I'm sitting on a trivial patch that fixes this that I originally considered including in #5727, but decided to wait until we have a confirmed valid use case. Could you elaborate on why you are using the |
it's how conan package manager generates compiler flags (https://github.com/conan-io/conan/blob/8a6df42e34f3e8b4b3c4e8d2e115ab87ab272072/conans/client/build/compiler_flags.py#L194)
|
Ha, I didn't realize MSVC actually allows both. I'll submit a PR with a fix later today. Thanks for clarifying! |
Fixes mesonbuild#6101 (with a test), following up mesonbuild#5881
meson 0.52.1 does not handle properly msvc's environment variable -LIBPATH see mesonbuild/meson#6101 this change is a backport of the fix mesonbuild/meson#6106
meson seems to modify
LDFLAGS
environment varibable if it contains some-LIBPATH:whatever
, and it makes the build fail:(more detail https://ci.appveyor.com/project/bincrafters/conan-glib/builds/28354777/job/nexbj5fnd0vx3yq9#L906)
this issue is very similar to #5811 (with solution proposed in #5812), but it does not involve pkg-config
The text was updated successfully, but these errors were encountered: