mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
avahi: Enable cross-compilation
This commit is contained in:
parent
da48154158
commit
86a778a80a
@ -20,13 +20,15 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libdaemon dbus perl perlXMLParser glib expat libiconv ]
|
||||
++ (stdenv.lib.optional qt4Support qt4);
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gettext intltool ];
|
||||
nativeBuildInputs = [ pkgconfig gettext intltool glib ];
|
||||
|
||||
configureFlags =
|
||||
[ "--disable-qt3" "--disable-gdbm" "--disable-mono"
|
||||
"--disable-gtk" "--disable-gtk3"
|
||||
"--${if qt4Support then "enable" else "disable"}-qt4"
|
||||
"--disable-python" "--localstatedir=/var" "--with-distro=none" ]
|
||||
"--disable-python" "--localstatedir=/var" "--with-distro=none"
|
||||
# A systemd unit is provided by the avahi-daemon NixOS module
|
||||
"--with-systemdsystemunitdir=no" ]
|
||||
++ stdenv.lib.optional withLibdnssdCompat "--enable-compat-libdns_sd"
|
||||
# autoipd won't build on darwin
|
||||
++ stdenv.lib.optional stdenv.isDarwin "--disable-autoipd";
|
||||
|
Loading…
Reference in New Issue
Block a user