This is helpful. PATH=/path/to/glib/2.55.0/bin:$PATH PKG_CONFIG_PATH=/path/to/glib/2.55.0/lib/pkgconfig meson . build_dir --prefix=/ Also, installing to a local directory requires setting of the DESTDIR variable: PATH=/path/to/glib/2.55.0/bin:$PATH ninjaDESTDIR=/install/path ninja install Thanks a
I'd think the simplest option is to put your local GLib in your PATH with
higher priority, so that the non-absolute invocation of g-c-r finds your
one instead of the system one.
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
Hi,
How can I build Gtk+ 3.93.0 by Meson with locally installed Glib 2.55.0?
I have tried pkgconfig:
PKG_CONFIG_PATH=/path/to/glib/2.55.0/lib/pkgconfig meson -Ddisable-modules=true
-Denable-wayland-backend=false -Dintrospection=false -Ddemos=false
-Dbuild-tests=false -Ddocumentation=false