RE: building against uninstalled Glib
- From: "Baker, Steve" <SBaker CHELLO com>
- To: "'gtk-devel-list gnome org'" <gtk-devel-list gnome org>
- Subject: RE: building against uninstalled Glib
- Date: Sun, 12 Aug 2001 11:22:29 +0200
> Currently, the -uninstalled-pc stuff _only_ works when the
> path you specify in your PKG_CONFIG_PATH is relative.
>
> It's not too hard to fix things to work with absolute
> paths as well, but it needs to be done as a fix to pkg-config.
Ok, I'm using relative paths now but I still needed the below change to find
glib.h and glib libs.
cheers
Index: glib-2.0-uninstalled.pc.in
===================================================================
RCS file: /cvs/gnome/glib/glib-2.0-uninstalled.pc.in,v
retrieving revision 1.1
diff -u -r1.1 glib-2.0-uninstalled.pc.in
--- glib-2.0-uninstalled.pc.in 2001/06/07 16:39:53 1.1
+++ glib-2.0-uninstalled.pc.in 2001/08/12 09:17:16
@@ -5,5 +5,5 @@
Name: GLib Uninstalled
Description: C Utility Library, Not Installed
Version: @VERSION@
-Libs: ${pc_top_builddir}/${pcfiledir}/libglib-1.3.la @ICONV_LIBS@
@INTLLIBS@
-Cflags: -I${pc_top_builddir}/${pcfiledir}
-I${pc_top_builddir}/${pcfiledir}/@srcdir@
+Libs: ${pc_top_builddir}/${pcfiledir}/glib/libglib-1.3.la @ICONV_LIBS@
@INTLLIBS@
+Cflags: -I${pc_top_builddir}/${pcfiledir}
-I${pc_top_builddir}/${pcfiledir}/@srcdir@/glib
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]