Blame otp-0003-Fix-for-dlopening-libGL-and-libGLU.patch
|
Hans Ulrich Niedermann |
b61466 |
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
Hans Ulrich Niedermann |
b61466 |
Date: Fri, 16 Apr 2010 21:13:47 +0400
|
|
Hans Ulrich Niedermann |
696873 |
Subject: [PATCH] Fix for dlopening libGL and libGLU
|
|
Hans Ulrich Niedermann |
b61466 |
|
|
Hans Ulrich Niedermann |
b61466 |
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
|
Hans Ulrich Niedermann |
b61466 |
---
|
|
Hans Ulrich Niedermann |
b61466 |
lib/wx/c_src/egl_impl.cpp | 4 ++--
|
|
Hans Ulrich Niedermann |
b61466 |
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
Hans Ulrich Niedermann |
b61466 |
|
|
Hans Ulrich Niedermann |
b61466 |
diff --git a/lib/wx/c_src/egl_impl.cpp b/lib/wx/c_src/egl_impl.cpp
|
|
|
64bbd2 |
index 6d873ab..18916c0 100644
|
|
Hans Ulrich Niedermann |
b61466 |
--- a/lib/wx/c_src/egl_impl.cpp
|
|
Hans Ulrich Niedermann |
b61466 |
+++ b/lib/wx/c_src/egl_impl.cpp
|
|
Hans Ulrich Niedermann |
b61466 |
@@ -70,8 +70,8 @@ typedef char DL_CHAR;
|
|
Hans Ulrich Niedermann |
b61466 |
# define OPENGL_LIB "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
|
|
Hans Ulrich Niedermann |
b61466 |
# define OPENGLU_LIB "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib"
|
|
Hans Ulrich Niedermann |
b61466 |
# else
|
|
Hans Ulrich Niedermann |
b61466 |
-# define OPENGL_LIB "libGL.so"
|
|
Hans Ulrich Niedermann |
b61466 |
-# define OPENGLU_LIB "libGLU.so"
|
|
Hans Ulrich Niedermann |
b61466 |
+# define OPENGL_LIB "libGL.so.1"
|
|
Hans Ulrich Niedermann |
b61466 |
+# define OPENGLU_LIB "libGLU.so.1"
|
|
Hans Ulrich Niedermann |
b61466 |
# endif
|
|
|
64bbd2 |
#endif
|
|
Hans Ulrich Niedermann |
b61466 |
extern "C" {
|