Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] prune_libtool_files is NOT a direct replacement for, example, find "${D}" -name '*.la' -delete
Date: Wed, 27 Jun 2012 19:19:13
Message-Id: 4FEB5B22.5050401@gentoo.org
1 The logic in prune_libtool_files is not perfect[1].
2
3 If you are updating ebuild for whatever reason and see `find` command to
4 punt .la files, and replace it with prune_libtool_files then you also
5 need to build the package (with "every" possible USE flag combination)
6 to see if --all argument is also needed.
7
8 To clarify:
9
10 Use `prune_libtool_files --all` instead of plain `prune_libtool_files`
11 if you don't test the package with the USE flags.
12
13 Not going to point anyone with a finger but the accident has already
14 happened couple of times in tree :P
15
16 [1] http://bugs.gentoo.org/421197

Replies