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