Index: /issm/trunk-jpl/src/wrappers/matlab/Makefile.am
===================================================================
--- /issm/trunk-jpl/src/wrappers/matlab/Makefile.am	(revision 18315)
+++ /issm/trunk-jpl/src/wrappers/matlab/Makefile.am	(revision 18316)
@@ -98,4 +98,8 @@
 endif
 
+if FORTRAN
+deps += $(FLIBS) $(FORTRANLIB)
+endif
+
 #MEXLIB needs to be the last (undefined references on larsen)
 deps += ${MEXLIB}
