summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-12-18 20:19:45 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-12-18 20:19:45 (GMT)
commitd82fa846a75025669b09a780559cbf16c8057fd2 (patch)
tree7c025f21b75932792178c7d77ad5d08bf796c358 /c++
parentd1d532069bd98ad37afb130fc9fba76be92d098b (diff)
downloadhdf5-d82fa846a75025669b09a780559cbf16c8057fd2.zip
hdf5-d82fa846a75025669b09a780559cbf16c8057fd2.tar.gz
hdf5-d82fa846a75025669b09a780559cbf16c8057fd2.tar.bz2
[svn-r4734]
Purpose: Bug Fix Description: Shared libraries weren't being built for C++. Solution: Removed the -static flag from the libtool compile line. This allows both shared and static libraries to be built instead of just static ones. After talking with Quincey and Binh-Minh, there shouldn't be any reason for C++ to be built static only. Platforms tested: Linux
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 780e6c8..c7c217e 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) -static -rpath $(libdir) $(DYNAMIC_DIRS)
-LT_LINK_EXE=$(LT) --mode=link $(CXX) $(LT_STATIC_EXEC) -dlopen self -static -rpath $(bindir) $(DYNAMIC_DIRS)
+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_RUN=$(LT) --mode=execute
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)