openldap: set CC for cross compilation

This commit is contained in:
Matthew Bauer 2020-06-24 20:38:06 -04:00
parent 8f0c1adda2
commit 95930fe857

View File

@ -23,7 +23,8 @@ stdenv.mkDerivation rec {
"STRIP="
"prefix=$(out)"
"moduledir=$(out)/lib/modules"
] ++ stdenv.lib.optionals stdenv.isDarwin [ "CC=cc" ];
"CC=${stdenv.cc.targetPrefix}cc"
];
configureFlags = [
"--enable-overlays"