Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android: query sysroot in ENABLE_STANDALONE=1
Running a standalone version of fbc to build with android ndk is not recommended, but if we are, try and query the sysroot. If we explicitly passed in -sysroot to fbc, then go ahead try to query gcc for the needed library even if we aren't targeting android. Otherwise, if we are running standalone fbc and not targeting android and didn't pass in a -sysroot, just return the computed library file name as was done previously in fbc.
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters