summary refs log tree commit diff
path: root/pkgs/applications/graphics/apitrace/glibc-2.34-compat.patch
blob: 3f8cebe030c04e6297a47c0c9e5de1854116fde9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/wrappers/dlsym.cpp b/wrappers/dlsym.cpp
index 2eda082..0c0c8ee 100644
--- a/wrappers/dlsym.cpp
+++ b/wrappers/dlsym.cpp
@@ -34,7 +34,7 @@
 #include "os.hpp"
 
 
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ < 34
 
 
 #include <dlfcn.h>