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
This commit is contained in:
parent
39ca489ea9
commit
e669ff37e9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253917
@ -9,6 +9,7 @@ CXXINCLUDEDIR= ${INCLUDEDIR}/c++/v${SHLIB_MAJOR}
|
|||||||
|
|
||||||
LIB= c++
|
LIB= c++
|
||||||
SHLIB_MAJOR= 1
|
SHLIB_MAJOR= 1
|
||||||
|
SHLIB_LDSCRIPT= libc++.ldscript
|
||||||
|
|
||||||
SRCS+= algorithm.cpp\
|
SRCS+= algorithm.cpp\
|
||||||
bind.cpp\
|
bind.cpp\
|
||||||
|
2
lib/libc++/libc++.ldscript
Normal file
2
lib/libc++/libc++.ldscript
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/* $FreeBSD$ */
|
||||||
|
GROUP ( @@SHLIB@@ @@LIBDIR@@/libcxxrt.so )
|
Loading…
Reference in New Issue
Block a user