On Thu, 12 Apr 2018 at 19:36:38, Colomban Wendling wrote:
> Okay, that's good, it suggests pkg-config is working fine. Now, just to
> be sure, what does
>
> $ PKG_CONFIG_PATH=/user/kklein/geany/1.33/lib/pkgconfig pkg-config
> --cflags --libs geany
>
> give you?
-DGTK -pthread -I//include/geany -I//include/geany/tagmanager
-I//include/geany/scintilla -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz
-L//lib -lgeany -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0
-lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype
> And similarly for glib.
Here is the command I ran:
pkg-config --cflags --libs glib-2.0
Here is the output:
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -lglib-2.0