libdispatch: switch from snapshot to latest 5.1 release
This commit is contained in:
parent
27e5f71136
commit
998744e66c
@ -1,8 +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"
|
||||
TERMUX_PKG_VERSION=2019-09-04
|
||||
TERMUX_PKG_SRCURL=https://github.com/apple/swift-corelibs-libdispatch/archive/swift-DEVELOPMENT-SNAPSHOT-${TERMUX_PKG_VERSION}-a.tar.gz
|
||||
TERMUX_PKG_SHA256=fada9fc9f4c6fac1c8b11d4187deb67329744f412df656d1b77122765db06147
|
||||
TERMUX_PKG_VERSION=5.1
|
||||
TERMUX_PKG_SRCURL=https://github.com/apple/swift-corelibs-libdispatch/archive/swift-${TERMUX_PKG_VERSION}-RELEASE.tar.gz
|
||||
TERMUX_PKG_SHA256=da24d299eecc10e7d4b40a24e0700ca2f73da622795ecf6f4a5da4d33c486662
|
||||
TERMUX_PKG_DEPENDS="libc++"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DENABLE_TESTING=OFF"
|
||||
|
@ -3,9 +3,9 @@ index 2809c11..368d428 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -246,6 +246,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
|
||||
"-Xlinker -dead_strip"
|
||||
"-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()
|
||||
|
Loading…
Reference in New Issue
Block a user