libdispatch: update from 5.1 to 5.2
This commit is contained in:
parent
496a4a290d
commit
baf0657644
@ -1,9 +1,8 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/apple/swift-corelibs-libdspatch
|
||||
TERMUX_PKG_DESCRIPTION="The libdispatch project, for concurrency on multicore hardware"
|
||||
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||
_VERSION=5.1
|
||||
_VERSION=5.2
|
||||
TERMUX_PKG_VERSION=1:${_VERSION}
|
||||
TERMUX_PKG_SRCURL=https://github.com/apple/swift-corelibs-libdispatch/archive/swift-${_VERSION}-RELEASE.tar.gz
|
||||
TERMUX_PKG_SHA256=da24d299eecc10e7d4b40a24e0700ca2f73da622795ecf6f4a5da4d33c486662
|
||||
TERMUX_PKG_SHA256=11797a43c509a603434c64c1041f208f0f25c3233d6c6493d53704e682634edb
|
||||
TERMUX_PKG_DEPENDS="libc++"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DENABLE_TESTING=OFF"
|
||||
|
@ -1,14 +0,0 @@
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 2809c11..368d428 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -246,6 +246,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
|
||||
"-Xlinker -alias_list -Xlinker ${PROJECT_SOURCE_DIR}/xcodeconfig/libdispatch.aliases")
|
||||
endif()
|
||||
dispatch_set_linker(dispatch)
|
||||
+if(CMAKE_SYSTEM_NAME STREQUAL Android)
|
||||
+ set_property(TARGET dispatch APPEND PROPERTY LINK_LIBRARIES "log")
|
||||
+endif()
|
||||
|
||||
install(TARGETS
|
||||
dispatch
|
Loading…
Reference in New Issue
Block a user