From bad1a5484028f1473fd701d01b982ffe84c7598c Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 12 Nov 2025 10:12:28 +0200 Subject: [PATCH] Remove dependency on libldap --- pkg.info | 2 +- source.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg.info b/pkg.info index 7d5c2e0..84bc68f 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: curl description: Command line tool and library for transferring data with URLs version: 8.17.0 -revision: 1 +revision: 2 url: https://curl.se/ license: MIT architecture: any diff --git a/source.sh b/source.sh index 8454406..6c8a173 100644 --- a/source.sh +++ b/source.sh @@ -13,7 +13,13 @@ build() { --enable-ipv6 \ --enable-websockets \ --enable-threaded-resolver \ + --disable-ldap \ + --disable-ldaps \ --with-ca-path=/etc/ssl/certs + + # Prevent overlinking due to libtool + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make }