On Sun, 2010-01-10 at 18:06 +0100, Stanislav Brabec wrote:
> This patch adds support for global enabling and disabling of shared or
> static libraries in autoconf based packages.
> 
> All required fixes in packages that I was able to test are already in
> place with exception of apmd (I plan to commit it soon as well).

I'm not very keen on the names of these configuration variables or the
global exports of them.  I understand your desire to leverage the
existing support in autoconf for taking settings from the environment,
but I am not sure that it is wholesome to pollute the global environment
for all tasks, including non-autoconf-using ones, with this stuff.

I would suggest something more along the lines of a
BITBAKE_LIBRARY_STYLE variable (not exported to the environment), which
you can set to "shared", "static" or "both", and then some code in
autotools_do_configure() to translate this into the appropriate flags or
environment settings for configure.

p.



_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to