[pkg-gnupg-maint] Bug#643341: Bug#643341: Bug#643341: libgpg-error-dev: cross-compiling anything based on libgpg-error is painful

NIIBE Yutaka gniibe at fsij.org
Wed Oct 17 06:31:50 BST 2018


Hello, again,

Simon McVittie <smcv at debian.org> wrote:
> For Debian, I wonder whether we might be able to patch the script to
> remove this part, which looks like the only architecture variation:
>
>     prefix=@prefix@
>     exec_prefix=@exec_prefix@
>     libdir=${PKG_CONFIG_LIBDIR:- at libdir@}
>     PKG_CONFIG_PATH="$PKG_CONFIG_PATH${PKG_CONFIG_PATH:+:}${libdir}/pkgconfig"

How about a change like this?

    https://dev.gnupg.org/D467

At configure time, if it detects libdir for multiarch, it lets
gpg-error-config script architecture independent to dynamically define
PKG_CONFIG_LIBDIR (by CC or gcc -dumpmachine).

With this, we don't need to have <triplet>-gpg-error-config.
-- 



More information about the pkg-gnupg-maint mailing list