On 2018-04-13 18:21, macpo...@parvis.nl wrote: > with makefile: > --- > pango-list-typefaces: pango-list-typefaces.c > cc -o $@ -Wall -g pango-list-typefaces.c \ > $(pkg-config --cflags --libs pango) \ > $(pkg-config --cflags --libs cairo) \ > $(pkg-config --cflags --libs pangocairo) \Currently > $(pkg-config --cflags --libs glib-2.0)
The Makefile is your problem. $(foo) is a normal variable expansion. This should be: $(shell pkg-config ...) Rainer