summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-23 11:20:51 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-25 00:11:28 -0400
commitb59c5555e43ba767f9aad9dce45ff109711f40ea (patch)
tree97d898ce2487fbe7cdcf837514aa8531ca7557c9
parentd227389c3c51fe7d0e91e7d595133b5229e5592e (diff)
downloadslackbuilds-b59c5555e43ba767f9aad9dce45ff109711f40ea.tar.gz
network/avahi: Fixed howl and mdnsresponder compatability
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--network/avahi/avahi.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/network/avahi/avahi.SlackBuild b/network/avahi/avahi.SlackBuild
index 9cdb269b58..604be0368a 100644
--- a/network/avahi/avahi.SlackBuild
+++ b/network/avahi/avahi.SlackBuild
@@ -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