From 53ca8992baba8d4473c5c0dddf96fd2f69b6c498 Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Wed, 17 Jul 2024 10:35:08 -0600 Subject: [PATCH] fix arm64 and amd64 having different pkgconfig paths arm64 is "$PREFIX"/lib/pkgconfig/ amd64 is "$PREFIX"/lib64/pkgconfig/ --- image/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image/build.sh b/image/build.sh index 3342965..8c25bfc 100755 --- a/image/build.sh +++ b/image/build.sh @@ -217,8 +217,8 @@ function install_openssl() fi # shellcheck disable=SC2016 - run sed -i 's/^Libs:.*/Libs: -L${libdir} -lcrypto -lz -ldl -lpthread/' "$PREFIX"/lib64/pkgconfig/libcrypto.pc - run sed -i '/^Libs.private:/d' "$PREFIX"/lib64/pkgconfig/libcrypto.pc + run sed -i 's/^Libs:.*/Libs: -L${libdir} -lcrypto -lz -ldl -lpthread/' "$PREFIX"/lib*/pkgconfig/libcrypto.pc + run sed -i '/^Libs.private:/d' "$PREFIX"/lib*/pkgconfig/libcrypto.pc ) # shellcheck disable=SC2181 if [[ "$?" != 0 ]]; then false; fi