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: add a workaround for Android builds #80

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

compnerd
Copy link
Collaborator

The android build requires linking to libunwind to prevent underlinking. This library is squirreled away into the compiler resource directory and since we do not use the NDK compiler we do not pick it up. Explicitly add the directory to our linker search path to pick up the necessary library. This library should really be provided by the NDK as we cannot ascertain if the unwinder has been modified or contains extensions.

@compnerd compnerd requested review from brianmichel and hyp June 21, 2024 15:00
Copy link

@brianmichel brianmichel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only one question about maybe leaving a comment.

CMakeLists.txt Show resolved Hide resolved
The android build requires linking to libunwind to prevent underlinking.
This library is squirreled away into the compiler resource directory and
since we do not use the NDK compiler we do not pick it up. Explicitly
add the directory to our linker search path to pick up the necessary
library. This library should really be provided by the NDK as we cannot
ascertain if the unwinder has been modified or contains extensions.
@compnerd compnerd merged commit bcf52b5 into thebrowsercompany:main Jun 21, 2024
2 checks passed
@compnerd compnerd deleted the search branch June 21, 2024 16:05
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