Skip to content

autotools: enable static use of Nettle for SHA1

Debian builds xserver 21 using autotools.

When debian builds xserver-xorg for constrained environments like the installer, it wants to build against the static library of libnettle for SHA1, see debian/patches/03_static-nettle.diff in the debian repository at https://salsa.debian.org/xorg-team/xserver/xorg-server.git

This modification of configure.ac makes it possible to build static nettle when needed, while preserving the build to use nettle with a dynamic library when passing a different configuration option.

Merge request reports

Loading