-
Notifications
You must be signed in to change notification settings - Fork 282
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
Improve pkg-config file generation #2471
Conversation
👇 Click on the image for a new way to code review
Legend |
Codecov Report
@@ Coverage Diff @@
## main #2471 +/- ##
=======================================
Coverage 62.11% 62.11%
=======================================
Files 121 121
Lines 22819 22819
Branches 11209 11209
=======================================
Hits 14173 14173
Misses 6439 6439
Partials 2207 2207 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
my meson PR produces
I assume it's similar here? |
Thanks for comparing and letting me know @neheb! Indeed, there are further two things I'll need to fix: no need for further dependencies ( I'm also surprised I don't see |
511bc43
to
7df3f71
Compare
I am now getting (on Windows, MSYS2 UCRT64):
|
6057bca
to
3764bd4
Compare
Iconv is libc iconv. Meson does not need to add. I’ll check expat. |
I though this was for Also, I think our own |
Luckily we require CMake 3.11 anyway, so I also removed our custom module: https://cmake.org/cmake/help/latest/module/FindIconv.html |
cf87ad2
to
19cd925
Compare
Expat is not implemented in meson as it’s simpler. I might look into this. |
Windows:
|
Hm, I have iconv.pc on MSYS2... |
On meson I check for it no matter the OS. Probably non Windows with CMake. |
Pull request has been modified.
Yep, MSYS2 was an exception rather than the rule, so converted iconv to Libs.private as well now. |
expat provides a canonical pkg-config file so there's no need for Meson to implement an override. |
no I meant in the PR. I've since implemented it. |
No description provided.