forked from mirrors/nixpkgs
dbus: fix build of dbus without x11Support
This commit is contained in:
parent
dd6912a95e
commit
a0ce1b48ed
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@ self = stdenv.mkDerivation {
|
|||
|
||||
# Enable X11 autolaunch support in libdbus. This doesn't actually depend on X11
|
||||
# (it just execs dbus-launch in dbus.tools), contrary to what the configure script demands.
|
||||
NIX_CFLAGS_COMPILE = "-DDBUS_ENABLE_X11_AUTOLAUNCH=1";
|
||||
# problems building without x11Support so disabled in that case for now
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString x11Support "-DDBUS_ENABLE_X11_AUTOLAUNCH=1";
|
||||
NIX_CFLAGS_LINK = lib.optionalString (!stdenv.isDarwin) "-Wl,--as-needed";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue