network/avahi: Fixed howl and mdnsresponder compatability

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-23 11:20:51 -04:00
parent d227389c3c
commit b59c5555e4

View file

@ -133,6 +133,10 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
# howl and mdnsresponder compatability
(cd $PKG/usr/include; ln -s avahi-compat-libdns_sd/dns_sd.h dns_sd.h; ln -s avahi-compat-howl howl)
(cd $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig; ln -s avahi-compat-howl.pc howl.pc)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true