Hi,

On Sat, 04 Jun 2011, Cristian Henzel wrote:
> My application [1] depends on gtk+-2.0 and -pthread seems to be brought in by
> this:
> $ pkg-config --cflags gtk+-2.0
> -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12
> 
> This seems to make dpkg-shlibdeps throw a warning [2], which I'd consider to 
> be
> invalid.
> [2] - dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided
> if "debian/clipit/usr/bin/clipit" were not uselessly linked against it (they
> use none of its symbols).

Why do you consider it invalid?

It happens quite often that the pkg-config call returns more libs than
strictly required. It might be a bug in the .pc file or it's a deliberate
choice because some use cases might need the library.

dpkg-shlibdeps already has options so that you can exclude the warnings
that you want to ignore... I don't really see what you expect in response
to your bug report.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)




--
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to