Fix nlopt build.
(cherry picked from commit 6c8fbed541188b04998ffc92ef960b6970f1f04e)
This commit is contained in:
parent
d76982e181
commit
66a224c99d
|
@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
|
|||
"M_INSTALL_DIR=$(out)/${octave.sitePath}/m " +
|
||||
"OCT_INSTALL_DIR=$(out)/${octave.sitePath}/oct ");
|
||||
|
||||
preConfigure = ''
|
||||
find octave -name '*.cc' | xargs sed -i 's|Octave_map|octave_map|g'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://ab-initio.mit.edu/nlopt/";
|
||||
description = "Free open-source library for nonlinear optimization";
|
||||
|
|
Loading…
Reference in New Issue