D19506: ECMGeneratePkgConfigFile: add variables used by pkg_check_modules

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Mon Mar 4 18:51:01 GMT 2019


kossebau added a comment.


  FWIW, this still results in inproper pc files, from what I heard recently. The `prefix` variable can be overriden from outside when calling `pkg-config` (cmp. `pkg-config --help`) to allow for relocatable installations. Same like CMake Config files also allow relocation by having the install prefix not hardcoded into directory var values.
  
  So ideally any other paths expressions in the pc file use at least the prefix variable.
  
  No more info here myself.

REPOSITORY
  R240 Extra CMake Modules

REVISION DETAIL
  https://phabricator.kde.org/D19506

To: dfaure, apol, fazevedo, cgiboudeaux
Cc: kossebau, cgiboudeaux, fazevedo, kde-buildsystem, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190304/c1a8e432/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list