mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
enable tests enable python module remove musl.patch as musl does not define __GLIBC_PREREQ, so this was redundant
14 lines
416 B
Diff
14 lines
416 B
Diff
RTLD_DEEPBIND is a glibc definition
|
|
|
|
--- a/src/tbb/dynamic_link.cpp
|
|
+++ b/src/tbb/dynamic_link.cpp
|
|
@@ -413,7 +413,7 @@
|
|
int flags = RTLD_NOW;
|
|
if (local_binding) {
|
|
flags = flags | RTLD_LOCAL;
|
|
-#if __linux__ && !__ANDROID__ && !__TBB_USE_SANITIZERS
|
|
+#if __linux__ && __GLIBC__ && !__ANDROID__ && !__TBB_USE_SANITIZERS
|
|
flags = flags | RTLD_DEEPBIND;
|
|
#endif
|
|
} else {
|