Not clear where pkg-config is finding information or how .pc files are named
6
votes
2
answers
3585
views
I followed a tutorial on GTK which used this command to generate the build flags:
$ pkg-config --cflags --libs gtk+-3.0
This outputs coherent flags. From research, I have found that
pkg-config
searches for .pc
files in /usr/lib/pkginfo
, usr/share/pkgconfig
, in the /local
equivalents, and in the folder indicated by the PKG_CONFIG_PATH
variable.
None of the folders contains the GTK file and the environment variable is not set. Where is pkg-config
getting the flags?
Asked by rur2641
(409 rep)
Jul 7, 2018, 12:48 PM
Last activity: Jul 7, 2018, 03:20 PM
Last activity: Jul 7, 2018, 03:20 PM