Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 18:43:35 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r258060 - stable/9/lib/libc++
Message-ID:  <201311121843.rACIhZ2L058484@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Tue Nov 12 18:43:35 2013
New Revision: 258060
URL: http://svnweb.freebsd.org/changeset/base/258060

Log:
  MFC r253917:
  
  After r253839, which modifies ld's behaviour to not automatically pull
  in needed libraries, change libc++.so into a linker script, so it can
  automatically pull in libcxxrt.so.
  
  [Note to stable/9 users: the above statement about ld's behaviour is not
  (yet) applicable to the version of ld in 9.x, but this change will help
  when building C++ programs with libc++, in combination with the ports
  version of ld.]

Added:
  stable/9/lib/libc++/libc++.ldscript
     - copied unchanged from r253917, head/lib/libc++/libc++.ldscript
Modified:
  stable/9/lib/libc++/Makefile
Directory Properties:
  stable/9/lib/libc++/   (props changed)

Modified: stable/9/lib/libc++/Makefile
==============================================================================
--- stable/9/lib/libc++/Makefile	Tue Nov 12 18:37:07 2013	(r258059)
+++ stable/9/lib/libc++/Makefile	Tue Nov 12 18:43:35 2013	(r258060)
@@ -9,6 +9,7 @@ CXXINCLUDEDIR=	${INCLUDEDIR}/c++/v${SHLI
 
 LIB=		c++
 SHLIB_MAJOR=	1
+SHLIB_LDSCRIPT=	libc++.ldscript
 
 SRCS+=		algorithm.cpp\
 		bind.cpp\

Copied: stable/9/lib/libc++/libc++.ldscript (from r253917, head/lib/libc++/libc++.ldscript)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/9/lib/libc++/libc++.ldscript	Tue Nov 12 18:43:35 2013	(r258060, copy of r253917, head/lib/libc++/libc++.ldscript)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+GROUP ( @@SHLIB@@ @@LIBDIR@@/libcxxrt.so )



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311121843.rACIhZ2L058484>