mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03:00
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.
This commit is contained in:
parent
b6c1f0af5d
commit
c5ece5e787
Notes:
sideshowbarker
2024-07-18 12:27:08 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/c5ece5e7878 Pull-request: https://github.com/SerenityOS/serenity/pull/7982
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user