From b83a3b7e9600db7af601f03b6a781ba5cfde1b31 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 10 Jul 2012 16:23:29 +0000 Subject: [PATCH] Fixed compilation of Fortran samples with user-specified compiler --- SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/SConstruct b/SConstruct index e44ad9ed6..86083e394 100644 --- a/SConstruct +++ b/SConstruct @@ -588,6 +588,7 @@ if env['f90_interface'] in ('y','default'): if foundF90: env['f90_interface'] = 'y' + env['FORTRAN'] = env['F90'] elif env['f90_interface'] == 'y': print "ERROR: Couldn't find a suitable Fortran compiler to build the Fortran 90 interface" sys.exit(1)