blob: 2ed5587f71d802a2881a61df188699d0f1d00611 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From d11884c88eac803c174f759414d0162154450b6a Mon Sep 17 00:00:00 2001
From: Andrey Zhizhikin <andrey.z@gmail.com>
Date: Thu, 2 Sep 2021 09:43:33 +0000
Subject: [PATCH] dlsym: workaround glibc 2.34 build failure
As suggested in [1], upstream component does not have a solution for the
issue, and therefore for glibc version >= 2.34 dlsym wrappers should be
skipped.
Link: [1]: https://github.com/apitrace/apitrace/issues/756
Upstream-Status: Pending
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
---
wrappers/dlsym.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: git/wrappers/dlsym.cpp
===================================================================
--- git.orig/wrappers/dlsym.cpp
+++ git/wrappers/dlsym.cpp
@@ -34,7 +34,7 @@
#include "os.hpp"
-#if defined(__GLIBC__) && !defined(__UCLIBC__)
+#if defined(__GLIBC__) && !defined(__UCLIBC__) && !(__GLIBC__ == 2 && __GLIBC_MINOR__ >= 34)
#include <dlfcn.h>
|