python310Packages.uamqp: fix build on aarch64-darwin

This commit is contained in:
Weijia Wang 2023-04-27 23:33:06 +03:00
parent 8e5047b1f6
commit 28211c5c65

View file

@ -40,6 +40,9 @@ buildPythonPackage rec {
sed -i \ sed -i \
-e '/#define EVP_PKEY_id/d' \ -e '/#define EVP_PKEY_id/d' \
src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c
sed -z -i \
-e 's/OpenSSL 3\nif(LINUX)/OpenSSL 3\nif(1)/' \
src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/CMakeLists.txt
''; '';
nativeBuildInputs = [ nativeBuildInputs = [