diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-06-11 01:13:16 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-11 11:33:36 +0200 |
commit | c5ece5e7878e9a158c956e02645b634951bda8aa (patch) | |
tree | 0f060b530ef526ba2511fc444e2ee234f9f5f15e /Ports | |
parent | b6c1f0af5d3a699403a459e12fd5cc788f9aa434 (diff) | |
download | serenity-c5ece5e7878e9a158c956e02645b634951bda8aa.zip |
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.
Diffstat (limited to 'Ports')
-rwxr-xr-x | Ports/openssl/package.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/openssl/package.sh b/Ports/openssl/package.sh index bbdf8861da..f84620cf55 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 |