Openembedded Core Discussions
 help / color / mirror / Atom feed
* RFC: magic libtool .la removal
@ 2013-06-18 14:31 Burton, Ross
  2013-06-18 14:42 ` Phil Blundell
  0 siblings, 1 reply; 11+ messages in thread
From: Burton, Ross @ 2013-06-18 14:31 UTC (permalink / raw)
  To: OE-core

Hi,

Looking at another recipe that deletes .la files reminded me that
every six months or so I look at this and never actually get anything
done.  Let's try attempt three!

My proposal is that we integrate .la-removal into a core class.
autotools.bbclass should cover 99% of instances as libtool is normally
used in conjunction with auto*.  Have a variable, REMOVE_LIBTOOL_LA,
which controls the behaviour post-install.

"none".  For this recipe, don't remove any .la files.

"libdir".  For this recipe, remove .la files in $base_libdir and
$libdir non-recursively, keeping the .la files in any subdirectories.
This is for packages that use libltdt to load modules, which I believe
needs .la files to work.

"all".  For this recipe, remove all .la files.

I've not written any code yet, but it shouldn't be hard.  Any thoughts?

Ross


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-06-18 16:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-18 14:31 RFC: magic libtool .la removal Burton, Ross
2013-06-18 14:42 ` Phil Blundell
2013-06-18 14:56   ` Burton, Ross
2013-06-18 15:00     ` Colin Walters
2013-06-18 15:05       ` Burton, Ross
2013-06-18 15:47         ` Richard Purdie
2013-06-18 15:52           ` Burton, Ross
2013-06-18 15:54           ` Phil Blundell
2013-06-18 15:59             ` Burton, Ross
2013-06-18 16:05           ` Colin Walters
2013-06-18 16:39             ` Colin Walters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox