openldap: set CC for cross compilation
This commit is contained in:
parent
8f0c1adda2
commit
95930fe857
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user