git » avahi.git » commit 9e4b3b5

reduce overlinking

author Jan Alexander Steffens
2017-07-11 20:44:02 UTC
committer Jan Alexander Steffens
2017-07-11 20:44:02 UTC
parent adfb8a421f46f428a06ca51bdf2fc6ae248fe9b2

reduce overlinking

PKGBUILD +1 -0

diff --git a/PKGBUILD b/PKGBUILD
index 6bb588d..fce696c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -58,6 +58,7 @@ build() {
     --with-autoipd-user=avahi \
     --with-autoipd-group=avahi \
     --with-systemdsystemunitdir=/usr/lib/systemd/system
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 
   cp -a avahi-python/avahi avahi-python/avahi2