prefix=/usr/bar exec_prefix=${prefix} libdir=${prefix}/lib includedir=${prefix}/include Name: prefix-foo2 Description: A testing pkg-config file Version: 1.2.3 Libs: -L${libdir} -lfoo2 Cflags: -fPIC -I${includedir}/foo2 Cflags.private: -DFOO_STATIC