-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
help correctly link to dl/pthreads on linux
- Loading branch information
1 parent
4095fd7
commit 78b11e7
Showing
8 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipe/patches/0004-Revert-libc-Remove-workaround-for-C11-features-on-co.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipe/patches/0005-disable-_LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPT.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
recipe/patches/0006-set-CXX-as-language-for-libunwind-to-avoid-running-i.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
recipe/patches/0007-avoid-misdetection-of-dl-pthread-on-linux.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 8ca66527c9f7930a153ee8be487aa77734277967 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <h.vetinari@gmx.com> | ||
Date: Sun, 26 May 2024 15:35:03 +1100 | ||
Subject: [PATCH 7/7] avoid misdetection of dl/pthread on linux | ||
|
||
--- | ||
libunwind/cmake/config-ix.cmake | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/libunwind/cmake/config-ix.cmake b/libunwind/cmake/config-ix.cmake | ||
index 126c872f0d48..7b5ff47ac011 100644 | ||
--- a/libunwind/cmake/config-ix.cmake | ||
+++ b/libunwind/cmake/config-ix.cmake | ||
@@ -120,8 +120,8 @@ if(FUCHSIA) | ||
set(LIBUNWIND_HAS_DL_LIB NO) | ||
set(LIBUNWIND_HAS_PTHREAD_LIB NO) | ||
else() | ||
- check_library_exists(dl dladdr "" LIBUNWIND_HAS_DL_LIB) | ||
- check_library_exists(pthread pthread_once "" LIBUNWIND_HAS_PTHREAD_LIB) | ||
+ set(LIBUNWIND_HAS_DL_LIB YES) | ||
+ set(LIBUNWIND_HAS_PTHREAD_LIB YES) | ||
endif() | ||
|
||
if(HAIKU) |