Skip to content

Commit

Permalink
fix arm64 and amd64 having different pkgconfig paths
Browse files Browse the repository at this point in the history
arm64 is "$PREFIX"/lib/pkgconfig/
amd64 is "$PREFIX"/lib64/pkgconfig/
  • Loading branch information
CamJN committed Jul 17, 2024
1 parent ce25edd commit 53ca899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions image/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53ca899

Please sign in to comment.