From c5ece5e7878e9a158c956e02645b634951bda8aa Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Fri, 11 Jun 2021 01:13:16 +0200 Subject: [PATCH] Ports/OpenSSL: Use `install_prefix` to fix resource install The `--openssldir` parameter was causing OpenSSL to search for its resources in the wrong location, e.g.: `/serenity/Build/i686/Root/usr/local/ssl/...` By using `--install_prefix`, the build system understands where to put the OpenSSL files and does not leak the build path into the compiled binaries. --- Ports/openssl/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ports/openssl/package.sh b/Ports/openssl/package.sh index bbdf8861da9..f84620cf552 100755 --- a/Ports/openssl/package.sh +++ b/Ports/openssl/package.sh @@ -11,7 +11,7 @@ auth_import_key="8657ABB260F056B1E5190839D9C4D26D0E604491" auth_opts="openssl-${version}.tar.gz.asc openssl-${version}.tar.gz" depends="zlib" -configopts="--prefix=${SERENITY_INSTALL_ROOT}/usr/local -DOPENSSL_SYS_SERENITY=1 --openssldir=${SERENITY_INSTALL_ROOT}/usr/local/ssl linux-elf zlib no-tests no-threads no-asm" +configopts="--prefix=/usr/local --install_prefix=${SERENITY_INSTALL_ROOT} -DOPENSSL_SYS_SERENITY=1 linux-elf zlib no-tests no-threads no-asm" configure() { run ./"$configscript" $configopts