mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-23 12:19:43 +00:00
Add libstdc++.so.6 into dylib.conf, add __dso_handle into libstdcxx
This commit is contained in:
parent
0deb8e9122
commit
5aa86b5681
@ -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
|
||||
|
@ -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")
|
||||
|
2
src/libstdcxx/src/dso_handle.c
Normal file
2
src/libstdcxx/src/dso_handle.c
Normal file
@ -0,0 +1,2 @@
|
||||
const void *const __dso_handle __attribute__ ((__visibility__ ("hidden"))) = &__dso_handle;
|
||||
|
Loading…
Reference in New Issue
Block a user