Commit Graph

10 Commits (master)

Author SHA1 Message Date
John Zimmermann a4332733c3 elfhacks: d_un.d_ptr is relative on non glibc systems
elf(5) documents it this way, GLIBC diverts from this documentation

partial fix for #601
4 months ago
Emil Velikov eecd451068 meson: build with -Werror=missing-declarations
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
Emil Velikov 8a1c56ba25 meson: remove broken -Dwith_dlsym
The option does not even build, so let's remove it.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
jackun a91f1c7cf7
Iterate through libraries for possible locations of dlopen/dlsym functions
glibc 2.34 moves `dlopen` and `dlsym` from libdl.so to libc.so
3 years ago
jackun ced84ec526
Try to find `dlopen`/`dlsym` from libc.so too (musl libc, glibc 2.34+) 3 years ago
jackun 934dc31e44
Add utility lib with dlsym hooking 4 years ago
Danilo Spinella b6340c832a Add include for dlopen flags, fix build on musl
RTLD_DEEPBIND is not defined on musl based systems, add a check
before using it.
4 years ago
jackun 780ea7c89b
[OpenGL] Use GLAD instead on gl3w and hook EGL 4 years ago
jackun bd9d9650a0
Move `dlsym` hook out from inject_glx.cpp 4 years ago
jackun 2e7d92e068
Move `real_dlsym` files out from `gl` subdir 4 years ago