app-arch/zstd: fix underlinking against pthreads, bug #713940
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 22 Mar 2020 15:33:54 +0000 (15:33 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 22 Mar 2020 15:34:22 +0000 (15:34 +0000)
commit42bc10c0190c408533447d5ab0a980095c4574b2
treebc5a8c83eb6336930f4614ed49e4fb67d0452c87
parent8505da6db35bf95a24077ef3ea43a935117f34aa
app-arch/zstd: fix underlinking against pthreads, bug #713940

buscher noticed late gcc-10 link failure which exposed an
underlinked libzstd.so when built with multithreaded support.

The change adds an ebuild workaround to compile/link against
-pthread on platforms where this options exist. Real fix is
left to upstream.

Reported-by: buscher on #gentoo-toolchain
Closes: https://bugs.gentoo.org/713940
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
app-arch/zstd/zstd-1.4.4-r4.ebuild [new file with mode: 0644]