From 9d9a22f16ba650a4fd16e5488fbe44b727a4088e Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 13 Aug 2012 20:14:07 +0000 Subject: [PATCH] Fixed compilation of Fortran samples with user-specified compiler cherry-pick of r1635 from 2.0 maintenance branch --- SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/SConstruct b/SConstruct index 71e942602..d39b561cc 100644 --- a/SConstruct +++ b/SConstruct @@ -600,6 +600,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)