mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:47:34 +00:00
LibC+LibELF: Implement more fully-features dlfcn functionality
This implements more of the dlfcn functionality. Most notably: * It's now possible to dlopen() libraries which were already loaded at program startup time. This does not cause those libraries to be loaded twice. * Errors are reported via dlerror() rather than by crashing the program. * Calls to the dl*() functions are thread-safe.
This commit is contained in:
parent
549d9bd3ea
commit
f40ee1b03f
12 changed files with 371 additions and 200 deletions
6
Userland/Libraries/LibDl/CMakeLists.txt
Normal file
6
Userland/Libraries/LibDl/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
set(SOURCES
|
||||
dlfcn.cpp
|
||||
)
|
||||
|
||||
serenity_libc(LibDl dl)
|
||||
target_link_libraries(LibDl LibC)
|
Loading…
Add table
Add a link
Reference in a new issue