curl: do not link against libraries that are not in core

This commit is contained in:
Tim Biermann 2022-05-07 13:40:05 +02:00
parent 52ce4a3827
commit 2d751051db
Signed by: tb
GPG Key ID: 42F8B4E30B673606

View File

@ -5,7 +5,7 @@
name=curl
version=7.83.0
release=1
release=2
source=(https://curl.haxx.se/download/$name-$version.tar.xz)
build() {
@ -13,11 +13,16 @@ build() {
./configure \
--prefix=/usr \
--enable-ipv6 \
--without-libidn2 \
--with-openssl \
--without-cyassl \
--enable-threaded-resolver \
--with-ca-bundle=/etc/ssl/cert.pem
--with-ca-bundle=/etc/ssl/cert.pem \
--with-openssl \
--with-nghttp2 \
--disable-ldap{,s} \
--without-brotli \
--without-libidn2 \
--without-libpsl \
--without-nghttp2 \
--without-librtmp
make
make DESTDIR=$PKG install
make -C docs/libcurl DESTDIR=$PKG install