1 |
Dne èt 11. srpna 2005 20:58 Donnie Berkholz napsal(a): |
2 |
> Donnie Berkholz wrote: |
3 |
> > Here's a slightly better version: |
4 |
> |
5 |
> And here's the enhanced, scripted version. It traces libs back to their |
6 |
> packages to really make things easy. |
7 |
|
8 |
you can replace (starting line 37) |
9 |
if $(grep ' \-l[a-zA-Z]' ${1} | grep static); then |
10 |
static=1 |
11 |
fi |
12 |
if ! $(grep ' \-l[a-zA-Z]' ${1} | grep static); then |
13 |
shared=1 |
14 |
fi |
15 |
|
16 |
with |
17 |
if $(grep ' \-l[a-zA-Z]' ${1} | grep static); then |
18 |
static=1 |
19 |
else |
20 |
shared=1 |
21 |
fi |
22 |
|
23 |
as it should be equivalent. |
24 |
|
25 |
> |
26 |
> Seems to work quite well. |
27 |
> |
28 |
> Thanks, |
29 |
> Donnie |
30 |
|
31 |
Have a nice day, |
32 |
spity |
33 |
-- |
34 |
Jan Spitalnik |
35 |
jan.spitalnik@×××.com |
36 |
|
37 |
"We are now qualified to anything with nothing." -- Larry Wall |
38 |
|
39 |
-- |
40 |
gentoo-dev@g.o mailing list |