Skip to content

Commit 1e3bc56

Browse files
committed
libdispatch: update blocksruntime patch
1 parent 06e9be9 commit 1e3bc56

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

patches/libdispatch-own-blocksruntime.patch

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
https://github.com/apple/swift-corelibs-libdispatch/pull/534
2-
31
diff --git a/CMakeLists.txt b/CMakeLists.txt
4-
index 2bae74e..0877f56 100644
2+
index 527c4bc..8c37a32 100644
53
--- a/CMakeLists.txt
64
+++ b/CMakeLists.txt
7-
@@ -190,6 +190,8 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Android)
5+
@@ -176,6 +176,8 @@ if(NOT ANDROID)
86
find_package(LibRT)
97
endif()
108

@@ -14,18 +12,18 @@ index 2bae74e..0877f56 100644
1412
check_function_exists(getprogname HAVE_GETPROGNAME)
1513
check_function_exists(mach_absolute_time HAVE_MACH_ABSOLUTE_TIME)
1614
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
17-
index 570c919..6d45899 100644
15+
index a1f8a0c..995a972 100644
1816
--- a/src/CMakeLists.txt
1917
+++ b/src/CMakeLists.txt
20-
@@ -1,5 +1,4 @@
21-
-
22-
-if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
18+
@@ -1,5 +1,5 @@
19+
20+
-if(NOT APPLE)
2321
+if(NOT BlocksRuntime_FOUND)
2422
add_subdirectory(BlocksRuntime)
2523
endif()
2624

2725
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
28-
index 0176a06..523ae06 100644
26+
index f061628..fb67be7 100644
2927
--- a/tests/CMakeLists.txt
3028
+++ b/tests/CMakeLists.txt
3129
@@ -78,9 +78,6 @@ function(add_unit_test name)

0 commit comments

Comments
 (0)