Merge pull request #175161 from risicle/ris-uamqp-darwin-aarch64
This commit is contained in:
commit
d0e5e8877f
@ -27,6 +27,19 @@ buildPythonPackage rec {
|
|||||||
./darwin-azure-c-shared-utility-corefoundation.patch
|
./darwin-azure-c-shared-utility-corefoundation.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = lib.optionalString (stdenv.isDarwin && !stdenv.isx86_64) ''
|
||||||
|
# force darwin aarch64 to use openssl instead of applessl, removing
|
||||||
|
# some quirks upstream thinks they need to use openssl on macos
|
||||||
|
sed -i \
|
||||||
|
-e '/^use_openssl =/cuse_openssl = True' \
|
||||||
|
-e 's/\bazssl\b/ssl/' \
|
||||||
|
-e 's/\bazcrypto\b/crypto/' \
|
||||||
|
setup.py
|
||||||
|
sed -i \
|
||||||
|
-e '/#define EVP_PKEY_id/d' \
|
||||||
|
src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user