This commit is contained in:
Jan-Erik Rediger 2022-11-03 18:38:20 +01:00 коммит произвёл Jan-Erik Rediger
Родитель 54037b1f82
Коммит 4149483046
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -23,12 +23,12 @@ fi
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.
# 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.
# (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
IS_SIMULATOR=0