openmodelica: fix libgfortran.so search

This commit is contained in:
Michael Raskin 2016-08-20 21:51:41 +02:00
parent acaa6a4c2b
commit 14736fcf4c

View File

@ -26,6 +26,8 @@ stdenv.mkDerivation {
'';
configurePhase = ''
export NIX_LDFLAGS="$NIX_LDFLAGS -L${gfortran.cc.lib}/lib"
autoconf
./configure CC=${clang}/bin/clang CXX=${clang}/bin/clang++ --prefix=$out
'';