[PATCH] Generate and install a pkg-config file for gpg-error

Werner Koch wk at gnupg.org
Tue Sep 18 09:07:04 CEST 2012


On Mon, 17 Sep 2012 23:46, devurandom at gmx.net said:

> Attached patches make libgpg-error install a pkg-config file.

This has been discussed several times in the last years.

> This aids in cross-compiling, where the output of gpg-error-config cannot 
> directly be used, e.g. because the paths may need an additional prefix.

It is quite interesting that we are cross compiling the whole GnuPG
system for a decade without any problems:

  ./configure --prefix=${sysroot} \
              --with-gpg-error-prefix=${sysroot}

Package using pkgconfig require a wrapper to fix the paths.  Checkout
the Gpg4win meta installer for details.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list