mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-21 03:23:20 +00:00
Explicitly pass -pthread flag to fix the build after some updates
This commit is contained in:
parent
47c2726363
commit
a54e796cff
|
@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
|
|||
"--without-x"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -pthread"
|
||||
'';
|
||||
|
||||
# We need to build hcrypt for applications like samba
|
||||
postBuild = ''
|
||||
(cd lib/hcrypto; make)
|
||||
|
|
Loading…
Reference in a new issue