1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

ecl: add threadSupport option

This commit is contained in:
Tomas Hlavaty 2016-12-13 22:35:16 +01:00
parent d65ef03677
commit b23b7a8174

View file

@ -3,6 +3,7 @@
, gmp, mpfr, libffi, makeWrapper
, noUnicode ? false
, gcc
, threadSupport ? true
}:
let
s = # Generated upstream information
@ -30,7 +31,7 @@ stdenv.mkDerivation {
};
configureFlags = [
"--enable-threads"
(if threadSupport then "--enable-threads" else "--disable-threads")
"--with-gmp-prefix=${gmp.dev}"
"--with-libffi-prefix=${libffi.dev}"
]