1 |
On Fri, 15 Jun 2012 11:11:58 -0400 |
2 |
Mike Frysinger <vapier@g.o> wrote: |
3 |
|
4 |
> On Friday 15 June 2012 09:32:18 Michał Górny wrote: |
5 |
> > # Remove static libs we're not supposed to link |
6 |
> > against. if grep -q '^shouldnotlink=yes$' "${f}"; then |
7 |
> > - einfo "Removing unnecessary |
8 |
> > ${archivefile#${D%/}}" |
9 |
> > - rm -f "${archivefile}" |
10 |
> > + if [[ -f ${archivefile} ]]; then |
11 |
> > + einfo "Removing unnecessary |
12 |
> > ${archivefile#${D%/}} (static |
13 |
> plugin)" |
14 |
> > + rm -f "${archivefile}" |
15 |
> > + fi |
16 |
> |
17 |
> highly unlikely, but this would skip symlinks that are broken in $D, |
18 |
> but valid once merged into $ROOT |
19 |
|
20 |
Are you suggesting || -L? Not that I see a case where |
21 |
an external-symlink .a is installed alongside local .la file... |
22 |
|
23 |
-- |
24 |
Best regards, |
25 |
Michał Górny |