summaryrefslogtreecommitdiffstats
path: root/c++/config/commence.in
diff options
context:
space:
mode:
Diffstat (limited to 'c++/config/commence.in')
-rw-r--r--c++/config/commence.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/config/commence.in b/c++/config/commence.in
index a6a3237..dcc4fc8 100644
--- a/c++/config/commence.in
+++ b/c++/config/commence.in
@@ -44,7 +44,7 @@ LT_STATIC_EXEC=@LT_STATIC_EXEC@
DYNAMIC_DIRS=@DYNAMIC_DIRS@
LT=$(top_builddir)/libtool
LT_COMPILE=$(LT) --mode=compile $(CXX)
-LT_LINK_LIB=$(LT) --mode=link $(CXX) -static -rpath $(libdir)
+LT_LINK_LIB=$(LT) --mode=link $(CXX) -static -rpath $(libdir) $(DYNAMIC_DIRS)
LT_LINK_EXE=$(LT) --mode=link $(CXX) $(LT_STATIC_EXEC) -dlopen self -static -rpath $(bindir) $(DYNAMIC_DIRS)
LT_RUN=$(LT) --mode=execute
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)