mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
cc6765a05e
This also sets the sysroot to to allow it to find libgpg-error and libiconv when building with Clang.
26 lines
693 B
Bash
Executable file
26 lines
693 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port='libgcrypt'
|
|
version='1.10.2'
|
|
useconfigure='true'
|
|
use_fresh_config_sub='true'
|
|
config_sub_paths=(
|
|
'build-aux/config.sub'
|
|
)
|
|
depends=(
|
|
'libgpg-error'
|
|
)
|
|
files=(
|
|
"https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2#3b9c02a004b68c256add99701de00b383accccf37177e0d6c58289664cce0c03"
|
|
)
|
|
|
|
pre_configure() {
|
|
export ac_cv_lib_pthread_pthread_create='no'
|
|
}
|
|
|
|
configure() {
|
|
run ./configure \
|
|
--host="${SERENITY_ARCH}-pc-serenity" \
|
|
--build="$("${workdir}/build-aux/config.guess")" \
|
|
--with-libgpg-error-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
|
|
--with-sysroot="${SERENITY_INSTALL_ROOT}"
|
|
}
|