blob: 92edc4404c7db2d6d39210104229444cb625ab43 [file] [log] [blame]
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05001From 1926700b367745e976dae9d9dc2236da21f4435b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 1 Sep 2021 10:07:48 -0700
4Subject: [PATCH] Workaround glibc 2.34 build failure by disabling dlsym
5 wrapper
6
7Upstream-Status: Pending
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 wrappers/dlsym.cpp | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/wrappers/dlsym.cpp b/wrappers/dlsym.cpp
14index 5ab8465b..d353bbf7 100644
15--- a/wrappers/dlsym.cpp
16+++ b/wrappers/dlsym.cpp
17@@ -34,7 +34,7 @@
18 #include "os.hpp"
19
20
21-#if defined(__GLIBC__) && !defined(__UCLIBC__)
22+#if defined(__GLIBC__) && !defined(__UCLIBC__) && !(__GLIBC__ == 2 && __GLIBC_MINOR__ >= 34)
23
24
25 #include <dlfcn.h>
26--
272.33.0
28