SYSROOT vs --with-xxx-prefix

NIIBE Yutaka gniibe at
Wed Oct 10 04:18:29 CEST 2018


Thanks for yor try.  Please have a lock at gnupg/doc/HACKING [0],
and submit your change to or this maling list.
Before your submission, I'd suggest to minimize your change
(e.g. don't include indentation change).

Alon Bar-Lev <alon.barlev at> wrote:
> libgpg-error and found out that you already support pkg-config and
> converted the config script to delegate calls to the pkg-config.

No, the config script (gpg-error-config) never delegates to pkg-config.
It *does* handle the gpg-error.pc file by itself.

We share the gpg-error.pc file between gpg-error-config and pkg-config,
and I'd like to keep deviation by gpg-error-config as small as possible.

Well, I repeat: GnuPG build process never depends on pkg-config.

> There are some gaps that can be solved. Then the same can be
> replicated to all other projects.

Today, I push two changes:

    gpg-error-config: Fix the place of *.pc (for multilib).

    gpg-error-config: Add PKG_CONFIG_SYSROOT_DIR support.

The first one is what you pointed out.
The second one is supporting cross build.


More information about the Gnupg-devel mailing list