Newer
Older
minerva / Ports / gettext / patches / ReadMe.md
@minerva minerva on 13 Jul 819 bytes Initial commit

Patches for gettext on Minerva

0001-libtool-Enable-shared-library-support-for-Minerva.patch

libtool: Enable shared library support for Minerva

For some odd reason, libtool handles the configuration for shared libraries entirely statically and in its configure script. If no shared library support is "present", building shared libraries is disabled entirely.

Fix that by just adding the appropriate configuration options for minerva. This allows us to finally create dynamic libraries automatically using libtool, without having to manually link the static library into a shared library.

This patch here is a bit more elaborate for other ports, as libintl's configure includes the code for detecting dynamic linker characteristics twice, and it also queries the C++ compiler for shared library support.