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
04d410cc4d
commit
3878472f02
@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0sji4spl5dhw1s3f9y0ym09gi7d1c8wldn6wbiap4q8dq7cvklq5";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
export CXXDEFS="-DHAVE_RAND -DHAVE_CSTRING -DHAVE_CSTDIO"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
buildInputs = [ gfortran blas liblapack ];
|
||||
|
Loading…
Reference in New Issue
Block a user