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