summaryrefslogtreecommitdiffstats
path: root/fortran/config/commence.in
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/config/commence.in')
-rw-r--r--fortran/config/commence.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/config/commence.in b/fortran/config/commence.in
index 50105e0..83daa9d 100644
--- a/fortran/config/commence.in
+++ b/fortran/config/commence.in
@@ -50,7 +50,7 @@ LT_STATIC_EXEC=@LT_STATIC_EXEC@
DYNAMIC_DIRS=@DYNAMIC_DIRS@
LT=$(top_builddir)/libtool
LT_CCOMPILE=$(LT) --mode=compile $(CC)
-LT_LINK_CLIB=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -rpath $(libdir)
+LT_LINK_CLIB=$(LT) --mode=link $(CC) $(DYNAMIC_DIRS) $(LT_STATIC_EXEC) -rpath $(libdir)
LT_LINK_CEXE=$(LT) --mode=link $(CC) $(DYNAMIC_DIRS) -rpath $(bindir)
LT_RUN=$(LT) --mode=execute
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)