-
Notifications
You must be signed in to change notification settings - Fork 492
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
Improper target
flag for newer NDKs
#1440
Comments
We use the information extracted from |
Actually, it might've been caused by these lines. |
Manually setting |
I've pushed this example, which is just a stripped version of
I tried running this code separately:
Which does throw that undefined This creates another issue though: How exactly do we pass the intended Android API level to |
Manually setting |
cc
's auto-detection for NDK supplies--target arm-linux-android
instead of something like--target armv7a-linux-androideabi35
, causing the wrong (and non-existent) sysroot to be used and leading to this error:The text was updated successfully, but these errors were encountered: