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

properly set up the sysroot for e.g. check_headers #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mgerhardy
Copy link

without this, cmake wasn't able to find any header for me, it got unresolved linker problems with the non-standalone toolchain:

  • crtbegin_dynamic.o
  • crtend_android.o
  • cannot find -lc
  • cannot find -ldl

all of the above mentioned issues are fixed by this.

without this, cmake wasn't able to find any header for me, it got unresolved linker problems with the non-standalone toolchain:
* crtbegin_dynamic.o
* crtend_android.o
* cannot find -lc
* cannot find -ldl

all of the above mentioned issues are fixed by this.
@mgerhardy
Copy link
Author

this might also fix it:
https://github.com/dreifachstein/android-cmake/commit/785c889dd5871204b7f4dc8c0f52970f2359b809

but this patch should also work find on older cmake versions.

@mgerhardy
Copy link
Author

link #70

@mgerhardy
Copy link
Author

#70 doesn't fix the problem for me alone - both patches in combination worked though.

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.

1 participant