From 0acf9e696b6f2bce3b855ff060ca3d33693b29e3 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 15 Nov 2023 12:16:19 +0000 Subject: [PATCH] openssl.sh: add comment about `--libdir=lib` [ci skip] --- openssl.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openssl.sh b/openssl.sh index 7df2a9c0c..047d3ede2 100755 --- a/openssl.sh +++ b/openssl.sh @@ -127,7 +127,6 @@ _VER="$1" # 'no-dso' implies 'no-dynamic-engine' which in turn compiles in these # engines non-dynamically. To avoid them, also set `no-engine`. - ( mkdir "${_BLDDIR}"; cd "${_BLDDIR}" # shellcheck disable=SC2086 @@ -163,6 +162,8 @@ _VER="$1" mv "${_PKGDIR}/${_my_prefix}"/* "${_PP}" # Rename 'lib64' to 'lib'. This is what most packages expect. + # Not using '--libdir=lib' because that also changes the paths hardwired + # into the binaries, making them different from default builds at runtime. if [ -d "${_PP}/lib64" ]; then mv "${_PP}/lib64" "${_PP}/lib" fi