Skip to content

Add option to provide Bionic Libc (Android) support #15

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

Merged
merged 1 commit into from
Sep 2, 2016

Conversation

gonzalolarralde
Copy link
Contributor

This changeset adds an option to configure.ac named --enable-bionic-libc to provide compatibility with Bionic Libc, mainly used in Android.

Bionic embeds libpthread and librt, so there's nothing extra to link, causing this to fail due to file inexistence: -lpthread -lrt.

This change will allow apple/swift-corelibs-libdispatch to be compiled with Android support along with the changes in apple/swift-corelibs-libdispatch#162.

Let me know if you prefer to solve this in some other way, or if there's any change that needs to be applied.

@mheily mheily merged commit 794155d into mheily:master Sep 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants