summaryrefslogtreecommitdiff
path: root/sys-cluster/hpx/files/hpx-1.8.0-fix-musl-execinfo.patch
blob: 4c82ca3f6be15bf08d4eb77d88733d76a2586d0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Check for execinfo only on glibc and ulibc systems.
#
# With this PR https://github.com/STEllAR-GROUP/hpx/pull/5947 merged, from
# 1.8.1 we can drop these patches
--- a/libs/core/debugging/src/backtrace.cpp
+++ b/libs/core/debugging/src/backtrace.cpp
@@ -19,7 +19,9 @@

 #if (defined(__linux) || defined(__APPLE__) || defined(__sun)) &&              \
     (!defined(__ANDROID__) || !defined(ANDROID))
+#if defined(__GLIBC__)
 #define HPX_HAVE_EXECINFO
+#endif
 #define HPX_HAVE_DLFCN
 #if defined(__GNUC__) && !defined(__clang__)
 #define HPX_HAVE_UNWIND