Add libstdc++.so.6 into dylib.conf, add __dso_handle into libstdcxx

This commit is contained in:
Lubos Dolezel 2015-11-03 20:13:18 +01:00
parent 0deb8e9122
commit 5aa86b5681
3 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
[dylibs]
/usr/lib/libSystem.B.dylib=libsystem.so
/usr/lib/libstdc++.6.dylib=libstdcxx.so
/usr/lib/libc++.1.dylib=libc++.so.1
/usr/lib/libc++abi.dylib=libc++abi.so.1
/usr/lib/libiconv.2.dylib=libiconv.so

View File

@ -87,6 +87,7 @@ set(libstdcxx_sources
src/valarray-inst.cc
src/wlocale-inst.cc
src/wstring-inst.cc
src/dso_handle.c
)
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib${SUFFIX}/darling")

View File

@ -0,0 +1,2 @@
const void *const __dso_handle __attribute__ ((__visibility__ ("hidden"))) = &__dso_handle;