Fixed compilation of Fortran samples with user-specified compiler

This commit is contained in:
Ray Speth 2012-07-10 16:23:29 +00:00
parent 0e672ed92a
commit b83a3b7e96

View file

@ -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)