From 4858f3307e47f94e6e7f3a4dfcbae1f5d5b746a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 10 Jan 2016 09:18:24 +0100 Subject: [PATCH] R: fix build after splitting gfortran.lib The extra flag was causing static libraries to be found (and used) before dynamic ones. /cc #12085 --- pkgs/applications/science/math/R/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix index 183a1f50375..6fac7dc969d 100644 --- a/pkgs/applications/science/math/R/default.nix +++ b/pkgs/applications/science/math/R/default.nix @@ -45,7 +45,6 @@ stdenv.mkDerivation rec { CXX=$(type -p g++) FC="${gfortran}/bin/gfortran" F77="${gfortran}/bin/gfortran" JAVA_HOME="${jdk}" - LDFLAGS="-L${gfortran.cc}/lib" RANLIB=$(type -p ranlib) R_SHELL="${stdenv.shell}" )