You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by el...@apache.org on 2008/03/18 21:52:24 UTC
svn commit: r638562 - /stdcxx/branches/4.2.x/etc/config/gcc.config
Author: elemings
Date: Tue Mar 18 13:52:07 2008
New Revision: 638562
URL: http://svn.apache.org/viewvc?rev=638562&view=rev
Log:
2008-03-18 Eric Lemings <er...@roguewave.com>
STDCXX-488
* etc/config/gcc.config: Add more link flags specifying install
name and library versioning on Darwin (MacOS X) platforms.
Modified:
stdcxx/branches/4.2.x/etc/config/gcc.config
Modified: stdcxx/branches/4.2.x/etc/config/gcc.config
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/etc/config/gcc.config?rev=638562&r1=638561&r2=638562&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/etc/config/gcc.config (original)
+++ stdcxx/branches/4.2.x/etc/config/gcc.config Tue Mar 18 13:52:07 2008
@@ -97,8 +97,12 @@
# no -shared option for GCC on Mac OS X (Darwin)
LDSOFLAGS = -shared
else
- # -dynamiclib is needed when linking the library
- LDSOFLAGS = -dynamiclib
+ # Flags needed when linking the library
+ LDSOFLAGS = \
+-dynamiclib \
+-install_name $(BUILDDIR)/lib/$(LIBNAME) \
+-compatibility_version 4 \
+-current_version $(LIBVER)
endif