From 9518ea1ae1289acae0940c54feb9c21ca57c47e4 Mon Sep 17 00:00:00 2001 From: messense Date: Tue, 28 Dec 2021 13:20:13 +0800 Subject: [PATCH] Try to fix circleci build failures --- .circleci/build-wheel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/build-wheel.sh b/.circleci/build-wheel.sh index d69e8c9213fe..1cd80487992b 100755 --- a/.circleci/build-wheel.sh +++ b/.circleci/build-wheel.sh @@ -23,8 +23,8 @@ if [[ "${PYBIN}" =~ $REGEX ]]; then PY_LIMITED_API="--py-limited-api=cp3${BASH_REMATCH[1]}" fi -LDFLAGS="-L/opt/pyca/cryptography/openssl/lib" \ - CFLAGS="-I/opt/pyca/cryptography/openssl/include -Wl,--exclude-libs,ALL" \ +OPENSSL_DIR="/opt/pyca/cryptography/openssl" \ + RUSTFLAGS="-Clink-arg=-Wl,--exclude-libs,ALL" \ ../../.venv/bin/python setup.py bdist_wheel "$PY_LIMITED_API" auditwheel repair --plat "${PLATFORM}" -w wheelhouse/ dist/cryptography*.whl