pkg-config [PATCH]
- From: Patrick Welche <prlw1 newn cam ac uk>
- To: gtk-devel-list gnome org
- Subject: pkg-config [PATCH]
- Date: Thu, 12 Jun 2003 21:20:27 +0100
I believe that you need to add GDK_DEP_LIBS to the list of required libraries
as per the patch below. A simple check is to wonder where "-lXinerama" should
come from...
There is a part I don't understand: taken from Makefile.am:
## copy the default target for this platform to gdk-2.0.pc and gtk+-2.0.pc
Shouldn't that be precisely the opposite? You substitute the correct
variables into gdk-2.0.pc.in and gtk+-2.0.pc.in, creating correct
(with the patch) gdk-2.0.pc and gtk+-2.0.pc files, but then overwrite them
with default, non substituted gdk-x11-2.0.pc and gtk+-x11-2.0.pc files.
Cheers,
Patrick
Index: gdk-2.0.pc.in
===================================================================
RCS file: /cvs/gnome/gtk+/gdk-2.0.pc.in,v
retrieving revision 1.7
diff -u -r1.7 gdk-2.0.pc.in
--- gdk-2.0.pc.in 5 Mar 2002 21:03:49 -0000 1.7
+++ gdk-2.0.pc.in 12 Jun 2003 20:14:49 -0000
@@ -8,5 +8,5 @@
Description: GIMP Drawing Kit (${target} target)
Version: @VERSION@
Requires: gdk-pixbuf-2.0 @GDK_PACKAGES@
-Libs: -L${libdir} -lgdk-${target}- GTK_API_VERSION@ @GDK_EXTRA_LIBS@
+Libs: -L${libdir} -lgdk-${target}- GTK_API_VERSION@ @GDK_DEP_LIBS@ @GDK_EXTRA_L
IBS@
Cflags: -I${includedir}/gtk-2.0 -I${libdir}/gtk-2.0/include @GDK_EXTRA_CFLAGS@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]