openmodelica: fix libgfortran.so search
This commit is contained in:
@@ -26,6 +26,8 @@ stdenv.mkDerivation {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
export NIX_LDFLAGS="$NIX_LDFLAGS -L${gfortran.cc.lib}/lib"
|
||||||
|
|
||||||
autoconf
|
autoconf
|
||||||
./configure CC=${clang}/bin/clang CXX=${clang}/bin/clang++ --prefix=$out
|
./configure CC=${clang}/bin/clang CXX=${clang}/bin/clang++ --prefix=$out
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user