svn commit: r253917 - head/lib/libc++

Dimitry Andric dim at FreeBSD.org
Sat Aug 3 16:23:44 UTC 2013


Author: dim
Date: Sat Aug  3 16:23:43 2013
New Revision: 253917
URL: http://svnweb.freebsd.org/changeset/base/253917

Log:
  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.
  
  MFC after:	1 week

Added:
  head/lib/libc++/libc++.ldscript   (contents, props changed)
Modified:
  head/lib/libc++/Makefile

Modified: head/lib/libc++/Makefile
==============================================================================
--- head/lib/libc++/Makefile	Sat Aug  3 15:59:48 2013	(r253916)
+++ head/lib/libc++/Makefile	Sat Aug  3 16:23:43 2013	(r253917)
@@ -9,6 +9,7 @@ CXXINCLUDEDIR=	${INCLUDEDIR}/c++/v${SHLI
 
 LIB=		c++
 SHLIB_MAJOR=	1
+SHLIB_LDSCRIPT=	libc++.ldscript
 
 SRCS+=		algorithm.cpp\
 		bind.cpp\

Added: head/lib/libc++/libc++.ldscript
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lib/libc++/libc++.ldscript	Sat Aug  3 16:23:43 2013	(r253917)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+GROUP ( @@SHLIB@@ @@LIBDIR@@/libcxxrt.so )


More information about the svn-src-all mailing list