Skip to content

build: omit zlib pkg-config reference for Android - #21648

Closed
vszakats wants to merge 6 commits into
curl:masterfrom
vszakats:b-pkg-config-zlib-android
Closed

vszakats wants to merge 6 commits into
curl:masterfrom
vszakats:b-pkg-config-zlib-android

Conversation

@vszakats

@vszakats vszakats commented May 16, 2026 •

Copy link
Copy Markdown
Member

In both autotools and cmake builds, because Android does not offer
a zlib.pc.

Also:

  • GHA/non-native: dump config files, to verify.

Reported-by: sfan5 on github
Fixes #21647


https://github.com/curl/curl/pull/21648/files?w=1

@vszakats vszakats added the build label May 16, 2026
@github-actions github-actions Bot added the CI Continuous Integration label May 16, 2026
@vszakats
vszakats marked this pull request as draft May 16, 2026 21:40
@vszakats
vszakats force-pushed the b-pkg-config-zlib-android branch from 69ea8ee to 36e1f2e Compare May 16, 2026 21:43
@vszakats
vszakats marked this pull request as ready for review May 16, 2026 21:50
@vszakats vszakats closed this in 7bde6cb May 17, 2026
@vszakats
vszakats deleted the b-pkg-config-zlib-android branch May 17, 2026 11:27
vszakats added a commit to libssh2/libssh2 that referenced this pull request May 17, 2026
- cmake: fix potential non-lib option prefixed with `-l`, resulting in
  e.g. `-l-pthread`.
  Ref: curl/curl#21654

- omit zlib pkg-config reference for Android.
  Android does not offer a `zlib.pc` pkg-config file.
  Refs:
  curl/curl@7bde6cb
  curl/curl#21648

Closes #1946
outcast36 pushed a commit to greearb/curl that referenced this pull request Jun 3, 2026
In both autotools and cmake builds, because Android does not offer
a `zlib.pc`.

Also:
- GHA/non-native: dump config files, to verify.

Reported-by: sfan5 on github
Fixes curl#21647

Closes curl#21648
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build CI Continuous Integration

Development

Successfully merging this pull request may close these issues.

Android: pkg-config file references zlib, which does not exist

1 participant