Skip to content

[Android][curl] Wrong zlib on android compilation  #18015

@talregev

Description

@talregev

Robert Schumacher Can I ask improvement of libcurl.pc when compile android?
pkg-config libcurl.pc --libs
-Llibcurl.pc/../../lib -lcurl -lc -lgcc -ldl -pthread libcurl.pc/../../lib/libssl.a libcurl.pc/../../lib/libcrypto.a /home/tal/boinc/3rdParty/android/android-ndk-r15c/platforms/android-16/arch-arm/usr/lib/libz.so

It give libz.so Although it compile libcurl.a with libz.a from vcpkg. Can we fix libcurl.pc that it will give the correct libz flag location? zlib.pc/../../lib/libz.a?

@ras0219-msft @ras0219


Edit:
I find the problem that vcpkg find the zlib from the ndk instead the zlib inside vcpkg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:community-tripletA PR or issue related to community triplets not officially validated by the vcpkg team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions