Explorar el Código

Don't use Zlib from XCode SDK if a custom compiler is used (#2516)

pull/2517/head
native-api hace 3 años
cometido por GitHub
padre
commit
1250d7dd30
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      plugins/python-build/bin/python-build

+ 2
- 0
plugins/python-build/bin/python-build Ver fichero

@ -1564,6 +1564,8 @@ use_homebrew_zlib() {
}
use_xcode_sdk_zlib() {
# If a custom compiler is used, including XCode SDK will likely break it
[[ "${CC:-clang}" != "clang" || "$(command -v clang 2>/dev/null || true)" != "/usr/bin/clang" ]] && return 1
local xc_sdk_path="$(xcrun --show-sdk-path 2>/dev/null || true)"
if [ -d "$xc_sdk_path" ]; then
echo "python-build: use zlib from xcode sdk"

Cargando…
Cancelar
Guardar