avahi: fix static build (#480300)

This commit is contained in:
Matthieu Coudron
2026-05-20 02:20:14 +00:00
committed by GitHub
+8
View File
@@ -11,6 +11,7 @@
expat,
gettext,
glib,
autoconf-archive,
autoreconfHook,
libiconv,
libevent,
@@ -180,6 +181,12 @@ stdenv.mkDerivation rec {
];
postPatch = ''
# Remove the vendored ACX_PTHREAD macro in favor of the more up-to-date
# implementation from autoconf-archive, especially to support static builds.
rm common/acx_pthread.m4
'';
depsBuildBuild = [
pkg-config
];
@@ -188,6 +195,7 @@ stdenv.mkDerivation rec {
pkg-config
gettext
glib
autoconf-archive
autoreconfHook
];