From 94215537cc85e6aecbbeea9bc5a08741b1618ac6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sun, 17 Apr 2011 22:30:26 +0100 Subject: [PATCH] Intercept dlopen("libGL.so") too --- glxtrace.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glxtrace.py b/glxtrace.py index 050a082..a5317a4 100644 --- a/glxtrace.py +++ b/glxtrace.py @@ -114,7 +114,8 @@ void *dlopen(const char *filename, int flag) } // FIXME: handle absolute paths and other versions - if (strcmp(filename, "libGL.so.1") == 0) { + if (strcmp(filename, "libGL.so") == 0 || + strcmp(filename, "libGL.so.1") == 0) { // Use the true libGL.so handle instead of RTLD_NEXT from now on libgl_handle = handle; -- 2.7.4