packages/libcheckpath1/build.sh: Fix description.
[termux-packages] / packages / libx265 / source-CMakeLists.txt.patch
1 Submitted upstream at:
2 https://bitbucket.org/multicoreware/x265/pull-requests/31
3
4 diff -u -r ../x265_2.2/source/CMakeLists.txt ./source/CMakeLists.txt
5 --- ../x265_2.2/source/CMakeLists.txt 2016-12-23 00:57:39.000000000 -0500
6 +++ ./source/CMakeLists.txt 2017-01-03 18:42:19.823674722 -0500
7 @@ -80,7 +80,10 @@
8 endif()
9
10 if(UNIX)
11 - list(APPEND PLATFORM_LIBS pthread)
12 + find_library(LIBPTHREAD pthread)
13 + if(LIBPTHREAD)
14 + list(APPEND PLATFORM_LIBS pthread)
15 + endif()
16 find_library(LIBRT rt)
17 if(LIBRT)
18 list(APPEND PLATFORM_LIBS rt)