26 lines
643 B
Diff
26 lines
643 B
Diff
From 2d31d49eac9bcc01046e00df256a04ae13175c4e Mon Sep 17 00:00:00 2001
|
|
From: Gleb Mazovetskiy <glex.spb@gmail.com>
|
|
Date: Fri, 13 Dec 2019 13:39:19 +0000
|
|
Subject: [PATCH] Support libc that don't have RTLD_DEEPBIND
|
|
|
|
---
|
|
dispatch/glproc_gl.cpp | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/dispatch/glproc_gl.cpp b/dispatch/glproc_gl.cpp
|
|
index 5d7903a0..456fcc42 100644
|
|
--- a/dispatch/glproc_gl.cpp
|
|
+++ b/dispatch/glproc_gl.cpp
|
|
@@ -148,6 +148,9 @@ _getPrivateProcAddress(const char *procName)
|
|
|
|
#else
|
|
|
|
+#ifndef RTLD_DEEPBIND
|
|
+#define RTLD_DEEPBIND 0
|
|
+#endif
|
|
|
|
static inline void
|
|
logSymbol(const char *name, void *ptr) {
|
|
--
|
|
2.25.1
|
|
|