summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-12-19 22:02:16 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-12-19 22:02:16 (GMT)
commit5beabb3b75cdf5c11dfdd1d305113d284ab64e0f (patch)
treed62233f2c0ba2b44f313a136915f8b60ca7919d3 /c++
parent2bfadd82351ea5067caf485ee17d6cb2f850104b (diff)
downloadhdf5-5beabb3b75cdf5c11dfdd1d305113d284ab64e0f.zip
hdf5-5beabb3b75cdf5c11dfdd1d305113d284ab64e0f.tar.gz
hdf5-5beabb3b75cdf5c11dfdd1d305113d284ab64e0f.tar.bz2
[svn-r4745]
Purpose: Feature Rollback Description: Shared C++ libraries aren't working on all platforms (read: Arabica). We need to switch to the old method until we can sort this out. Solution: Re-add the "-static" flag to the library creation lines.
Diffstat (limited to 'c++')
-rw-r--r--c++/config/commence.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/config/commence.in b/c++/config/commence.in
index c7c217e..5f0dc05 100644
--- a/c++/config/commence.in
+++ b/c++/config/commence.in
@@ -45,8 +45,8 @@ 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) -rpath $(libdir) $(DYNAMIC_DIRS)
-LT_LINK_EXE=$(LT) --mode=link $(CXX) $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS)
+LT_LINK_LIB=$(LT) --mode=link $(CXX) -static -rpath $(libdir) $(DYNAMIC_DIRS)
+LT_LINK_EXE=$(LT) --mode=link $(CXX) -static $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS)
LT_RUN=$(LT) --mode=execute
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)