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