Skip to content
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

build: replace configure check with PP condition (Android <21) #15871

Closed
wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Dec 31, 2024

To make it build again with CMake + Android 20 and earlier.

8e34505 synced getpwuid_r() detection
in cmake with autotools. It means cmake started detecting it with
Android <21 just like autotools, and thus cmake builds also need to
tackle the missing declaration with old Android SDK versions. Use a PP
solution, allowing to drop the autotools-specific one used before this
patch.

Follow-up to 8e34505 #15164
Follow-up to 9c33813 #2609
Ref: #2058

@github-actions github-actions bot added the CI Continuous Integration label Dec 31, 2024
@vszakats vszakats changed the title build: replace workaround with PP condition for Android 20 and earlier build: replace configure workaround with PP condition (Android <21) Dec 31, 2024
@vszakats vszakats changed the title build: replace configure workaround with PP condition (Android <21) build: replace configure check with PP condition (Android <21) Dec 31, 2024
@vszakats
Copy link
Member Author

vszakats commented Jan 1, 2025

I could not find NDK 20 for download (for macOS) anymore.
Verified the patch locally with a newer Android NDK, with the
getpwuid_r declaration manually deleted.

@vszakats vszakats closed this in 0f1b23e Jan 1, 2025
@vszakats vszakats deleted the bld-getpwuid_r branch January 1, 2025 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build CI Continuous Integration tidy-up
Development

Successfully merging this pull request may close these issues.

1 participant