This is the mail archive of the
cygwin
mailing list for the Cygwin project.
pkgconfig 0.17.2-1 is broken?
- From: Teun Burgers <a dot rburgers at quicknet dot nl>
- To: cygwin at cygwin dot com
- Date: Fri, 29 Apr 2005 20:38:28 +0200
- Subject: pkgconfig 0.17.2-1 is broken?
I think there is a problem with pkgconfig 0.17.2-1.
For instance, /usr/lib/pkgconfig/gdk.pc
depends on /usr/lib/pkgconfig/glib.pc:
For glib one correctly gets:
clientxp#1(~)$ pkg-config --libs glib
-lglib
For gdk one gets:
clientxp#1(~)$ pkg-config --libs gdk
-L/usr/X11R6/lib -lgdk -lintl -lXext -lX11 -lm
Note that -lglib is *not* added to the list of libraries.
These are the contents of /usr/lib/pkgconfig/gdk.pc: there is a
dependency on glib.
clientxp#1(~)$ cat /usr/lib/pkgconfig/gdk.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: GDK
Description: GIMP Drawing Kit
Version: 1.2.10
Requires: glib
Libs: -L${libdir} -L/usr/X11R6/lib -lgdk -lintl -lXext -lX11 -lm
Cflags: -I${includedir}/gtk-1.2 -I/usr/X11R6/include
running pkg-config with PKG_CONFIG_DEBUG_SPEW=1 set shows that it
finds the correct .pkg files.
If I revert to 0.15.0-4, pkg-config --libs gdk will correctly list
-lglib. Has pkg-config's functionality changed (I don't think so)
or is this a bug?
Teun
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/