diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index d281838..b350889 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -21,6 +21,7 @@ build() { cd "$srcdir/$pkgname-$pkgver" ./configure prefix=/usr --with-pgm --with-libsodium \ --with-documentation --enable-static --disable-Werror + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make }