Re: how do I map pkg-config functionality to glib-config-2.0?
- From: Arnaud Charlet <charlet ACT-Europe FR>
- To: Helmethead <hoshem mel comcen com au>, Skip Montanaro <skip pobox com>, gtk-list gnome org
- Subject: Re: how do I map pkg-config functionality to glib-config-2.0?
- Date: Tue, 10 Apr 2001 16:38:08 +0200
> cat > /usr/local/bin/glib-config-2.0 << EOF
> #!/bin/sh
> pkg-config $* glib-2.0
> EOF
>
> a working replacement :)
Well, first it should be
pkg-config glib-2.0 $*
then, it won't work for many things.
For instance, --version needs to be replaced with --modversion
--prefix needs to be replaced with --variable=prefix
--cflags and --libs will work as is.
That's what we've found when porting GtkAda to Gtk+ 1.3.3 at least, there
might be other issues.
Arno
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]