[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121112085115.04ea916c@nehalam.linuxnetplumber.net>
Date: Mon, 12 Nov 2012 08:51:15 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Andreas Henriksson <andreas@...al.se>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH/RFC] iproute2: drop libresolv
On Sat, 10 Nov 2012 13:22:10 +0100
Andreas Henriksson <andreas@...al.se> wrote:
> Hello!
>
> While building the iproute package in Debian I get warnings from
> package helpers like this:
>
> dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/iproute/sbin/tc debian/iproute/usr/bin/lnstat debian/iproute/bin/ip debian/iproute/bin/ss debian/iproute/sbin/bridge debian/iproute/sbin/rtmon were not linked against libresolv.so.2 (they use none of the library's symbols)
>
> The -lresolv in ./Makefile seems to come from pre-historic times (before
> iproute2 git history, possibly from libc5/pre-glibc days).
> I couldn't find out if/why there was any reason for linking to libresolv.
> Does anyone know if there are any valid reasons for keeping it still?
>
> If not, I'd be happy to see it go.... while at it I also removed includes
> of <resolv.h> which I also couldn't find any reason for, but this is
> just an added bonus of the patch (and there are probably more unneeded
> includes that could be dropped in the same sources).
>
>
> Signed-off-by: Andreas Henriksson <andreas@...al.se>
>
Makes sense, applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists