Skip to content

ECMGeneratePkgConfigFile: use PKGCONFIG_TARGET_LIBS

ECMGenerateConfigFile quite carefully computes the include and library paths in PKGCONFIG_TARGET_{INCLUDE,LIB}S to be either prefix-relative or absolute... Then proceeds to ignore the library one, breaking the generated pkg-config files in environments where LIB_INSTALL_DIR happens to be absolute, NixOS among them. So fix that.

Merge request reports