Skip to content

Commit

Permalink
After r253839, which modifies ld's behaviour to not automatically pull
Browse files Browse the repository at this point in the history
in needed libraries, change libc++.so into a linker script, so it can
automatically pull in libcxxrt.so.

MFC after:	1 week
  • Loading branch information
DimitryAndric committed Aug 3, 2013
1 parent 4a8fef8 commit 792f34f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/libc++/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ CXXINCLUDEDIR= ${INCLUDEDIR}/c++/v${SHLIB_MAJOR}

LIB= c++
SHLIB_MAJOR= 1
SHLIB_LDSCRIPT= libc++.ldscript

SRCS+= algorithm.cpp\
bind.cpp\
Expand Down
2 changes: 2 additions & 0 deletions lib/libc++/libc++.ldscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* $FreeBSD$ */
GROUP ( @@SHLIB@@ @@LIBDIR@@/libcxxrt.so )

0 comments on commit 792f34f

Please sign in to comment.