Explicitly pass -pthread flag to fix the build after some updates

This commit is contained in:
Michael Raskin
2015-05-10 13:46:31 +02:00
committed by Domen Kožar
parent ae3b88aae4
commit ed38a2d32b
@@ -77,6 +77,10 @@ stdenv.mkDerivation rec {
(mkEnable true "heimdal-documentation" null)
];
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -pthread"
'';
# We need to build hcrypt for applications like samba
postBuild = ''
(cd lib/hcrypto; make)