RE: [PATCH libgcrypt] Add support for IBM z/OS

NIIBE Yutaka via Gnupg-devel <[email protected]> Tue, 02 Dec 2025 15:51:45 +0900
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
Hello, again,

Sachin T <[email protected]> wrote:
> Thanks for reviewing the changes.

I pushed other changes (libtool macro, longlong.h and secmem.c).
Let me have some time for configure.ac.

> The wrapper approach worked for me.

Good.  Please go ahead with the wrapper approach.

If the EXTRA_LIBS_FOR_BUILD is only for GnuPG, it would be acceptable.
My concern is that it will be for (almost) all packages you build.

> I also wanted to mention that libgpg-error already uses
> EXTRA_LIBS_FOR_BUILD in its configure.ac for z/OS, so using the same
> method in libgcrypt would keep things consistent across both projects.

I see.  If the wrapper approach will be found good, we can consider
about reverting the part of libgpg-error change.
--