#1106655 gnupg-pkcs11-scd FTCBFS: hard codes the build architecture pkg-config

#1106655#5
Date:
2025-05-27 11:56:48 UTC
From:
To:
Hi Thorsten,

in your -4 upload you introduced a cross build regression.
gpg-error-config used to be fine for cross compilation. When you
switched to pkg-config, you opted for not using PKG_CHECK_MODULES, but
in doing so you ended up hard coding the build architecture one and that
tends to be wrong for cross compiling. I'm attaching a patch that really
goes to PKG_CHECK_MODULES and thus fixes the cross build again. Don't
you appreciate the reduction in boiler plate?

Helmut