mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
postgresql: Fix cross compilation
b1548ce080
dropped the C compiler prefix
This commit is contained in:
parent
153a19df05
commit
440ac01e5a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ let
|
|||
NIX_CFLAGS_COMPILE = [ "-I${libxml2.dev}/include/libxml2" ];
|
||||
|
||||
# Otherwise it retains a reference to compiler and fails; see #44767. TODO: better.
|
||||
preConfigure = "CC=cc";
|
||||
preConfigure = "CC=${stdenv.cc.targetPrefix}cc";
|
||||
|
||||
configureFlags = [
|
||||
"--with-openssl"
|
||||
|
|
Loading…
Reference in a new issue