commit: 0bf6321916f1f2eb69ec11ef0e19185b3f23a13c Author: Aidan Harris <me <AT> aidanharr <DOT> is> AuthorDate: Sat Aug 31 14:22:51 2019 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Sat Aug 31 21:02:56 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf63219
sys-apps/findutils: Fix static compilation Signed-off-by: Aidan Harris <me <AT> aidanharr.is> Closes: https://bugs.gentoo.org/693152 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> sys-apps/findutils/findutils-4.7.0.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys-apps/findutils/findutils-4.7.0.ebuild b/sys-apps/findutils/findutils-4.7.0.ebuild index 5d4cd0269a6..6783a8ff87f 100644 --- a/sys-apps/findutils/findutils-4.7.0.ebuild +++ b/sys-apps/findutils/findutils-4.7.0.ebuild @@ -41,7 +41,10 @@ src_prepare() { } src_configure() { - use static && append-ldflags -static + if use static; then + append-flags -pthread + append-ldflags -static + fi program_prefix=$(usex userland_GNU '' g) local myeconfargs=(
