From 57cd56af1fe72b9a5001f27cf54fc1368414b03d Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sun, 1 Mar 2026 10:03:57 -0500 Subject: [PATCH] fix(avahi): export dbus pkg-config flags and libdir for header discovery --- steps-guix/avahi-0.8/pass1.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/steps-guix/avahi-0.8/pass1.sh b/steps-guix/avahi-0.8/pass1.sh index 37eb7ba5..3a8cf7df 100644 --- a/steps-guix/avahi-0.8/pass1.sh +++ b/steps-guix/avahi-0.8/pass1.sh @@ -5,11 +5,15 @@ src_prepare() { } src_configure() { - local host_triplet + local host_triplet pkg_config_path host_triplet="$(gcc -dumpmachine)" + pkg_config_path="${LIBDIR}/pkgconfig:${PREFIX}/lib/pkgconfig:${PREFIX}/share/pkgconfig" PATH="${PREFIX}/bin:/usr/bin:/bin" \ - PKG_CONFIG_PATH="${LIBDIR}/pkgconfig:${PREFIX}/lib/pkgconfig" \ + PKG_CONFIG_PATH="${pkg_config_path}" \ + PKG_CONFIG_LIBDIR="${pkg_config_path}" \ + DBUS_CFLAGS="$(pkg-config --cflags dbus-1)" \ + DBUS_LIBS="$(pkg-config --libs dbus-1)" \ ./configure \ --prefix="${PREFIX}" \ --libdir="${LIBDIR}" \