зеркало из https://github.com/mozilla/glean.git
iOS: Use the right `SDK_DIR`
This commit is contained in:
Родитель
54037b1f82
Коммит
4149483046
|
@ -23,12 +23,12 @@ fi
|
||||||
|
|
||||||
set -euvx
|
set -euvx
|
||||||
|
|
||||||
if [[ -n "${DEVELOPER_SDK_DIR:-}" ]]; then
|
if [[ -n "${SDK_DIR:-}" ]]; then
|
||||||
# Assume we're in Xcode, which means we're probably cross-compiling.
|
# Assume we're in Xcode, which means we're probably cross-compiling.
|
||||||
# In this case, we need to add an extra library search path for build scripts and proc-macros,
|
# In this case, we need to add an extra library search path for build scripts and proc-macros,
|
||||||
# which run on the host instead of the target.
|
# which run on the host instead of the target.
|
||||||
# (macOS Big Sur does not have linkable libraries in /usr/lib/.)
|
# (macOS Big Sur does not have linkable libraries in /usr/lib/.)
|
||||||
export LIBRARY_PATH="${DEVELOPER_SDK_DIR}/MacOSX.sdk/usr/lib:${LIBRARY_PATH:-}"
|
export LIBRARY_PATH="${SDK_DIR}/usr/lib:${LIBRARY_PATH:-}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IS_SIMULATOR=0
|
IS_SIMULATOR=0
|
||||||
|
|
Загрузка…
Ссылка в новой задаче