From 1a439c1832c242bdc3c4e502c1f48f9fadb92da1 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 8 Sep 2023 00:00:37 +1000 Subject: [PATCH] Fixed brotli detection on aarch64 --- config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.sh b/config.sh index 615d3a4d4..bf7382b58 100644 --- a/config.sh +++ b/config.sh @@ -43,7 +43,7 @@ function build_brotli { (cd $out_dir \ && $cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib . \ && make install) - if [[ "$MB_ML_LIBC" == "manylinux" ]] && [[ "$PLAT" == "x86_64" ]]; then + if [[ "$MB_ML_LIBC" == "manylinux" ]]; then cp /usr/local/lib64/libbrotli* /usr/local/lib cp /usr/local/lib64/pkgconfig/libbrotli* /usr/local/lib/pkgconfig fi