The variables appear to be set to the path of the compiled environment. $ cygcheck -cd libjson-c-devel Cygwin Package Information Package Version libjson-c-devel 0.16-1
$ cat /usr/lib/pkgconfig/json-c.pc prefix=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr exec_prefix=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr libdir=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib includedir=/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/include Name: json-c Description: A JSON implementation in C Version: 0.16 Requires: Libs.private: Libs: -L${libdir} -ljson-c Cflags: -I${includedir} -I${includedir}/json-c $ pkg-config --libs json-c -L/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib -ljson-c $ ls /pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib ls: cannot access '/pub/devel/json-c/json-c-0.16-1.x86_64/inst/usr/lib': No such file or directory -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple