ipopt: fix build after minor gcc update (close #5519)
The configure script only checks for a specific version to enable a fix in finding cstdlib and cstring.
This commit is contained in:
parent
0c8bbaa11c
commit
7aef1f02aa
@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0sji4spl5dhw1s3f9y0ym09gi7d1c8wldn6wbiap4q8dq7cvklq5";
|
sha256 = "0sji4spl5dhw1s3f9y0ym09gi7d1c8wldn6wbiap4q8dq7cvklq5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
export CXXDEFS="-DHAVE_RAND -DHAVE_CSTRING -DHAVE_CSTDIO"
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
buildInputs = [ gfortran blas liblapack ];
|
buildInputs = [ gfortran blas liblapack ];
|
||||||
|
Loading…
Reference in New Issue
Block a user