-
Notifications
You must be signed in to change notification settings - Fork 37.7k
build: Fix make apk
for Android w/ non-default SOURCES_PATH in depends
#22555
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
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Seems to work. |
I can confirm this fixes my Android build issues. I haven't yet looked at the code. |
Rebased 886e804 -> 5005c8e (pr22555.02 -> pr22555.03) due to the conflict with #22840. |
Rebased 580efc5 -> 5f09974 (pr22555.11 -> pr22555.12). |
67a8a47
to
7d31069
Compare
Ok, I reworked this PR:
Should be a bit easier to review now :) |
ACK 7d31069 |
Concept ~0. Adding more code to our depends and build systems, just to accommodate building for android in a "non-default" way is a bit meh. The people using this target with a custom |
Rebased 7d31069 -> 5d166df (pr22555.13 -> pr22555.14) due to the conflict with #24866. |
Also some lines have been removed from
This PR is not about adding a new feature for a few developers, but about fixing a bug in the existing feature. If consider to accept the point mentioned above, probably #22522 should be closed and the
|
I followed these steps from doc/build-android.md:
|
I didn't check everything for now, but seeing "NDK (Side be side)" in your screenshot makes me believe that |
I changed it to |
It seems really strange for me, as in @achow101's issue " Could you provide your commands and error messages exactly from your terminal please? |
|
Thank you! I think you did not build depends, and missed configuration step. It should be like that:
|
🐙 This pull request conflicts with the target branch and needs rebase. Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft". |
On master (1488f55) if depends are built with the customized
SOURCES_PATH
variable, the followingmake apk
fails for Android host (see #22522).Fixes #22522.