summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-09-08 22:57:40 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-09-08 22:57:40 (GMT)
commite9164bb70c3ca6ccaa8be84d4a3229aafa4edff6 (patch)
tree3ca64f3b4a75c2fbc0af4fae69cdbd43337ba18b /config
parentba41d8e86baa01bc8df6bec038d8d75ddfb14ba3 (diff)
downloadhdf5-e9164bb70c3ca6ccaa8be84d4a3229aafa4edff6.zip
hdf5-e9164bb70c3ca6ccaa8be84d4a3229aafa4edff6.tar.gz
hdf5-e9164bb70c3ca6ccaa8be84d4a3229aafa4edff6.tar.bz2
[svn-r2527] Added ability for user to compile executables as all-static...
Diffstat (limited to 'config')
-rw-r--r--config/commence.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/commence.in b/config/commence.in
index 4356aa8..5b3a658 100644
--- a/config/commence.in
+++ b/config/commence.in
@@ -41,10 +41,11 @@ docdir=@exec_prefix@/doc
PUB_LIB=$(LIB)
## Shared libraries
+LT_STATIC_EXEC=@LT_STATIC_EXEC@
LT=$(top_builddir)/libtool
LT_COMPILE=$(LT) --mode=compile $(CC)
LT_LINK_LIB=$(LT) --mode=link $(CC) -rpath $(libdir)
-LT_LINK_EXE=$(LT) --mode=link $(CC) -rpath $(bindir)
+LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -rpath $(bindir)
LT_RUN=$(LT) --mode=execute
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)