<p>In <a href="https://github.com/geany/geany/pull/1072#discussion_r67098624">scripts/cross-build-mingw.sh</a>:</p>
<pre style='color:#555'>> @@ -88,6 +88,8 @@ mkdir _deps
>  fetch_and_unzip "$BUNDLE_ZIP" _deps
>  # fixup the prefix= in the pkg-config files
>  sed -i "s%^\(prefix=\).*$%\1$PWD/_deps%" _deps/lib/pkgconfig/*.pc
> +# mingw-w64 doesn't know -pthread
> +sed -i -e 's%-pthread%%g' _deps/lib/pkgconfig/*.pc
</pre>
<p>I think <code>-lpthread</code> works on Linux, MinGW and OSX GCC/glibc.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1072/files/ca9ec507c1835c290a5e781b5b5ca275aefae98a..99fb6d7847220c502dca08a5ffe1fb8ae314080a#r67098624">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJyEt5iLXJ995nXM3kkEeazumSXNEks5qL4GkgaJpZM4I1slV">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJw_opAmtHs0dwDDT2CXUExYCb1Yoks5qL4GkgaJpZM4I1slV.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1072/files/ca9ec507c1835c290a5e781b5b5ca275aefae98a..99fb6d7847220c502dca08a5ffe1fb8ae314080a#r67098624"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>