1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Fixing the build of consolekit (it wants libgcc_s)

svn path=/nixpkgs/trunk/; revision=21843
This commit is contained in:
Lluís Batlle i Rossell 2010-05-18 16:40:40 +00:00
parent c270663fec
commit 8523c93081

View file

@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig dbus_glib zlib pam glib libX11 polkit expat ];
# For console-kit to get the rpath to libgcc_s, needed for pthread_cancel to work
NIX_LDFLAGS = "-lgcc_s";
configureFlags = "--enable-pam-module --with-pam-module-dir=$(out)/lib/security --localstatedir=/var --sysconfdir=/etc";
installFlags = "sysconfdir=$(out)/etc DBUS_SYS_DIR=$(out)/etc/dbus-1/system.d"; # keep `make install' happy