<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 16 January 2018 at 17:41, Ricardo Constantino <span dir="ltr"><<a href="mailto:wiiaboo@gmail.com" target="_blank">wiiaboo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Ricardo Constantino <<a href="mailto:wiiaboo@gmail.com">wiiaboo@gmail.com</a>><br>
# Date 1516124393 0<br>
#      Tue Jan 16 17:39:53 2018 +0000<br>
# Node ID 5dbc1653fba42507f44fac6034aa35<wbr>98fb2816cd<br>
# Parent  3712d13c09bf3b9db105c7f97188bc<wbr>c11b8f83cd<br>
CMake: blacklist mingw implicit link libraries<br>
<br>
These also aren't meant to be in pkg-config's Libs.Private.<br>
<br>
diff -r 3712d13c09bf -r 5dbc1653fba4 source/CMakeLists.txt<br>
--- a/source/CMakeLists.txt     Sat Jan 13 02:47:30 2018 +0100<br>
+++ b/source/CMakeLists.txt     Tue Jan 16 17:39:53 2018 +0000<br>
@@ -647,7 +647,9 @@<br>
     endforeach()<br>
     if(PLIBLIST)<br>
         # blacklist of libraries that should not be in Libs.private<br>
-        list(REMOVE_ITEM PLIBLIST "-lc" "-lpthread")<br>
+        list(REMOVE_ITEM PLIBLIST "-lc" "-lpthread" "-lmingwex" "-lmingwthrd"<br>
+            "-lmingw32" "-lmoldname" "-lmsvcrt" "-ladvapi32" "-lshell32"<br>
+            "-luser32" "-lkernel32")<br>
         string(REPLACE ";" " " PRIVATE_LIBS "${PLIBLIST}")<br>
     else()<br>
         set(PRIVATE_LIBS "")<br>
</blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">ping<br></div></div>