Re: how do I map pkg-config functionality to glib-config-2.0?



> 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]