svn commit: r258060 - stable/9/lib/libc++
Dimitry Andric
dim at FreeBSD.org
Tue Nov 12 18:43:36 UTC 2013
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 )
More information about the svn-src-stable-9
mailing list