libdispatch: update from 5.1 to 5.2

This commit is contained in:
Butta 2020-03-25 15:39:23 +05:30 committed by Leonid Pliushch
parent 496a4a290d
commit baf0657644
2 changed files with 2 additions and 17 deletions

View File

@ -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"

View File

@ -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