I understand your point, and I'm open to discuss this (perhaps it is GHC the one that has to change how it works!). On the one hand, we get this output from the current .pc file: ❯ PKG_CONFIG_SYSTEM_INCLUDE_PATH=1 pkgconf --cflags ddjvuapi -I/mingw64/include ❯ pkgconf --cflags ddjvuapi -I/mingw64/include This is because of the way this pkgconf file is constructed, where -I/mingw64/include is hard-coded in the resulting file: ❯ cat /mingw64/lib/pkgconfig/ddjvuapi.pc prefix=/mingw64 exec_prefix=/mingw64...
I understand your point, and I'm open to discuss this (perhaps it is GHC the one that has to change how it works!). On the one hand, we get this output from the current .pc file: ❯ PKG_CONFIG_SYSTEM_INCLUDE_PATH=1 pkgconf --cflags ddjvuapi -I/mingw64/include ❯ pkgconf --cflags ddjvuapi -I/mingw64/include This is because of the way this pkgconf file is constructed, where -I/mingw64/include is hard-coded in the resulting file: ❯ cat /mingw64/lib/pkgconfig/ddjvuapi.pc prefix=/mingw64 exec_prefix=/mingw64...
.pc file does not work on MinGW