dev-util/strace-4.22: Fix static build
authorConrad Kostecki <ck+gentoo@bl4ckb0x.de>
Tue, 17 Apr 2018 12:35:37 +0000 (14:35 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 17 Apr 2018 13:36:16 +0000 (15:36 +0200)
Closes: https://bugs.gentoo.org/653292
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/8044

dev-util/strace/strace-4.22.ebuild

index 1c7070c5d0821039fbc811413d7b79997c77bcb1..98126c008d99597296da539975f154616e3d0cf9 100644 (file)
@@ -45,7 +45,7 @@ src_prepare() {
        fi
 
        filter-lfs-flags # configure handles this sanely
-       use static && append-ldflags -static
+       use static && append-ldflags -static -pthread
 
        export ac_cv_header_libaio_h=$(usex aio)
        use elibc_musl && export ac_cv_header_stdc=no