[x265] [PATCH] CMake: blacklist mingw implicit link libraries

Ricardo Constantino wiiaboo at gmail.com
Tue Jan 23 13:02:07 CET 2018


On 16 January 2018 at 17:41, Ricardo Constantino <wiiaboo at gmail.com> wrote:

> # HG changeset patch
> # User Ricardo Constantino <wiiaboo at gmail.com>
> # Date 1516124393 0
> #      Tue Jan 16 17:39:53 2018 +0000
> # Node ID 5dbc1653fba42507f44fac6034aa3598fb2816cd
> # Parent  3712d13c09bf3b9db105c7f97188bcc11b8f83cd
> CMake: blacklist mingw implicit link libraries
>
> These also aren't meant to be in pkg-config's Libs.Private.
>
> diff -r 3712d13c09bf -r 5dbc1653fba4 source/CMakeLists.txt
> --- a/source/CMakeLists.txt     Sat Jan 13 02:47:30 2018 +0100
> +++ b/source/CMakeLists.txt     Tue Jan 16 17:39:53 2018 +0000
> @@ -647,7 +647,9 @@
>      endforeach()
>      if(PLIBLIST)
>          # blacklist of libraries that should not be in Libs.private
> -        list(REMOVE_ITEM PLIBLIST "-lc" "-lpthread")
> +        list(REMOVE_ITEM PLIBLIST "-lc" "-lpthread" "-lmingwex"
> "-lmingwthrd"
> +            "-lmingw32" "-lmoldname" "-lmsvcrt" "-ladvapi32" "-lshell32"
> +            "-luser32" "-lkernel32")
>          string(REPLACE ";" " " PRIVATE_LIBS "${PLIBLIST}")
>      else()
>          set(PRIVATE_LIBS "")
>

ping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180123/f9db7661/attachment.html>


More information about the x265-devel mailing list