-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[curl] Fix android builds. Greatly simplify pkgconfig handling. #17418
[curl] Fix android builds. Greatly simplify pkgconfig handling. #17418
Conversation
Tested on Windows and worked like a charm! |
@ras0219 Hi Robert, your fix is working with pkg-config when we compile for android with libcurl. |
The port file could set permissions with |
@dg0yt |
I think it is relevant for fixing #9068 (GDAL on Linux), at least if using gdal configuration parameters. |
I knew that it might be relevant for other projects, so that why I also report about |
I found the issue -- I was trying to replace With this, the PR is good to go on my side assuming it passes CI. @talregev I'd appreciate it if you wouldn't mind trying your previous code (using curl-config) on this new version, as some validation that the new curl-config works outside my machine. |
@ras0219 Good morning Robert. It is not my code, it is opensource code. |
@ras0219 Hi Robert, I open a two test branches as you can see. (I mention this PR on these branches). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please bump the port version. See documentation.
Also please run command vcpkg x-add-version --all
then commit the changes.
@ras0219 Once again regarding |
@ras0219 @ras0219-msft @JackBoosY any news? |
I hadn't incremented the version number, so it failed CI. If this passes, it's good to merge. |
Can you have another look at the curl pc files? On x64-linux, with the curl from
In the buildtree, it looks a little bit different:
|
@dg0yt |
@Neumann-A Yes, garbage-in-garbage-out here. I want to ask if there could be an improvement on the input side (port curl). |
I'm going to merge this PR as-is for now and look at improving the .pc in a followup. Thanks everyone! |
👍 |
Includes changes from #17400. Tested using docker.io/menny/android_ndk:1.15.1.
https://github.com/menny/docker_android/tree/master/android_ndk
https://hub.docker.com/r/menny/android_ndk
After launching the container, do:
What does your PR fix?
Fixes [curl] Fix usage of curl library on Android. #17400
Which triplets are supported/not supported? Have you updated the CI baseline?
<all / linux, windows, ...>, <Yes/No>
Does your PR follow the maintainer guide?
Your answer
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?<Yes / I am still working on this PR>
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/