Skip to content
Snippets Groups Projects
Commit 333a34da authored by Martin Storsjö's avatar Martin Storsjö
Browse files

configure: Automatically add -isysroot for darwin if --sysroot is specified


Check the existing flags in the cc/cflags/cppflags/ldflags for
occurrances of -isysroot; if none is found but --sysroot was specified,
set -isysroot to the same value as --sysroot.

This simplifies configuring cross-builds for iOS, if the global
environment variable SDKROOT isn't set.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent f519e131
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment