Fixed module include directory for old versions of gfortran

This commit is contained in:
Ray Speth 2012-02-23 21:24:38 +00:00
parent a0802e3ad0
commit bbb3b4cbfa

View file

@ -7,7 +7,8 @@ localenv.Append(CPPPATH=['#include', '#src'])
f90_src = mglob(localenv, '.', 'f90', 'cpp')
artifacts = localenv.Object(f90_src)
artifacts = localenv.Object(f90_src,
F90PATH=['#build/src/fortran'])
mods = [o for o in artifacts if o.path.endswith('.mod')]
objects = [o for o in artifacts if not o.path.endswith('.mod')]