From d82fa846a75025669b09a780559cbf16c8057fd2 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 18 Dec 2001 15:19:45 -0500 Subject: [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 --- c++/config/commence.in | 4 ++-- 1 file 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) -- cgit v0.12