openldap: Fix the cross compilation

This commit is contained in:
Michael Weiss 2020-06-20 00:32:06 +02:00
parent 5afd967d70
commit bf965338df
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83

View File

@ -40,8 +40,8 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
postBuild = ''
make $makeFlags -C contrib/slapd-modules/passwd/sha2
make $makeFlags -C contrib/slapd-modules/passwd/pbkdf2
make $makeFlags CC=$CC -C contrib/slapd-modules/passwd/sha2
make $makeFlags CC=$CC -C contrib/slapd-modules/passwd/pbkdf2
'';
doCheck = false; # needs a running LDAP server