mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-06 10:35:13 +02:00
11 lines
462 B
Diff
11 lines
462 B
Diff
--- a/lib/interception/interception_linux.cc
|
|
+++ b/lib/interception/interception_linux.cc
|
|
@@ -24,7 +24,7 @@ bool GetRealFunctionAddress(const char *func_name, uptr *func_addr,
|
|
return real == wrapper;
|
|
}
|
|
|
|
-#if !defined(__ANDROID__) // android does not have dlvsym
|
|
+#if defined(__GLIBC__) // !defined(__ANDROID__) // android does not have dlvsym
|
|
void *GetFuncAddrVer(const char *func_name, const char *ver) {
|
|
return dlvsym(RTLD_NEXT, func_name, ver);
|
|
}
|