summaryrefslogtreecommitdiffstats
path: root/config/commence.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/commence.in')
-rw-r--r--config/commence.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/commence.in b/config/commence.in
index 1eddd33..ad1ff45 100644
--- a/config/commence.in
+++ b/config/commence.in
@@ -72,8 +72,8 @@ LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
# Fortran compilation/linking stuff
LT_FCOMPILE=$(LT) --mode=compile $(F9X)
-LT_LINK_FLIB=$(LT) --mode=link $(F9X) -static $(DYNAMIC_DIRS)
-LT_LINK_FEXE=$(LT) --mode=link $(F9X) $(LT_STATIC_EXEC) $(DYNAMIC_DIRS)
+LT_LINK_FLIB=$(LT) --mode=link $(F9X) -static -rpath $(libdir) $(DYNAMIC_DIRS)
+LT_LINK_FEXE=$(LT) --mode=link $(F9X) -static $(LT_STATIC_EXEC) $(DYNAMIC_DIRS)
# C++ compilation/linking stuff
LT_CXX_COMPILE=$(LT) --mode=compile $(CXX)