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

Add support for building Robolectric's nativeruntime with gcc/g++ #6900

Merged
merged 1 commit into from Dec 6, 2021

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Dec 1, 2021

Add support for building Robolectric's nativeruntime with gcc/g++

g++ is sensitive to the order of static libraries. It requires -ldl to be
provided after the ICU static libraries, not before. Update the order by
placing -ldl and -lpthread as part of the androidsqlite project, where they are
required.

@copybara-service copybara-service bot force-pushed the piper_413475269 branch 2 times, most recently from 088eea6 to e6f31a7 Compare Dec 1, 2021
g++ is sensitive to the order of libraries in command-line arguments. It
requires -ldl to be provided after the ICU static libraries, not before. Update
the order by placing -ldl and -lpthread as part of the androidsqlite project,
where they are required.

PiperOrigin-RevId: 413475269
@hoisie hoisie merged commit 6c5117d into master Dec 6, 2021
7 checks passed
@hoisie hoisie deleted the piper_413475269 branch Dec 6, 2021
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.

None yet

1 participant