Thread (2 messages) 2 messages, 2 authors, 2008-08-26

[Buildroot] Static Library Building - On/Off/Configurable?

flat view

From: Daniel Laird <hidden>
Date: 2008-08-26 09:32:40

All,

Currently many of the packages that are in buildroot have a setting of
--enable-static

This takes extra compile time and seems somewhat unnecessary.  It means
that it is not very configurable. (default on)
What are peoples opinion on using the following:

ifeq ($(BR2_PREFER_STATIC_LIB),y)
	OPT_STATIC = --enable-static
endif

This could be added(not quite like above but similar) to
Makefile.autotools.in, 
I believe that --enable-static is a default parameter to configure
scripts so that should be safe, its just it would mean a central
'switch' to enable static compilation and would make things a lot
simpler.

Dan Laird
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help