samba: enable parallel building
This commit is contained in:
parent
8d721e2910
commit
21439ef416
@ -66,7 +66,8 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional (!enableDomainController) "--without-ad-dc"
|
++ optional (!enableDomainController) "--without-ad-dc"
|
||||||
++ optionals (!enableLDAP) [ "--without-ldap" "--without-ads" ];
|
++ optionals (!enableLDAP) [ "--without-ldap" "--without-ads" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
# To build in parallel.
|
||||||
|
buildPhase = "python buildtools/bin/waf build -j $NIX_BUILD_CORES";
|
||||||
|
|
||||||
# Some libraries don't have /lib/samba in RPATH but need it.
|
# Some libraries don't have /lib/samba in RPATH but need it.
|
||||||
# Use find -type f -executable -exec echo {} \; -exec sh -c 'ldd {} | grep "not found"' \;
|
# Use find -type f -executable -exec echo {} \; -exec sh -c 'ldd {} | grep "not found"' \;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user