Merge pull request #174049 from Mindavi/openldap/cross

openldap: fix cross-compilation
This commit is contained in:
Janne Heß 2022-05-23 11:39:10 +02:00 committed by GitHub
commit 54c2bcdfd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,6 +68,9 @@ stdenv.mkDerivation rec {
# contrib modules require these
"moduledir=${placeholder "out"}/lib/modules"
"mandir=${placeholder "out"}/share/man"
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
# Can be unconditional, doing it like this to prevent a mass rebuild.
"STRIP_OPTS="
];
extraContribModules = [