From 6406193b8fbe9d6d97e213d79d3dddf6a5947fe5 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 15 Sep 2025 18:52:21 +0300 Subject: [PATCH] Link as needed --- pkg.info | 1 + source.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg.info b/pkg.info index 6c41ecb..15b7905 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,7 @@ name: enchant description: Spelling library wrapper with consistent interface version: 2.8.12 +revision: 2 url: https://rrthomas.github.io/enchant/ license: LGPL2.1-or-later architecture: any diff --git a/source.sh b/source.sh index 2d79eaa..870d15d 100644 --- a/source.sh +++ b/source.sh @@ -16,6 +16,7 @@ prepare() { # This function is used to compile the source code build() { ./configure --prefix=/usr --disable-static --enable-relocatable + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make }