app-portage/prefix-toolkit(winnt): pull pthreads4w, intercept -pthread
authorMichael Haubenwallner <haubi@gentoo.org>
Mon, 9 Mar 2020 14:47:24 +0000 (15:47 +0100)
committerMichael Haubenwallner <haubi@gentoo.org>
Mon, 9 Mar 2020 14:55:27 +0000 (15:55 +0100)
commitf2795c7e3b35c00c41cfc5a9937c55639a57783a
treeac15df4304854f6f67711ccee098ad7aa752c24e
parentb78bd34e77ae5d95572423c0cb121c6aae4cda95
app-portage/prefix-toolkit(winnt): pull pthreads4w, intercept -pthread

Some X11 library build system is dumb enough to just use -pthread,
while others do triage this, before trying with -lpthread.  So we
intercept the -pthread compiler flag and add -lpthread instead.
We cannot do that in parity because pthreads4w is installed in the
stacked prefix, where it is built using parity.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
app-portage/prefix-toolkit/prefix-toolkit-6.ebuild [new file with mode: 0644]