BUILD_STATIC_LIBS is a makefile variable which determines whether components are built statically by default.
BUILD_STATIC_LIBS is set in
autoconf.mk by the configure script responding to the
--enable-static configure option.
In a static build, the component libraries are made into static libraries and then linked into the final executable. For this to work correctly, components that should be linked into the final executable should have
EXPORT_LIBRARY set. If a component should always be made into a dynamic library, the makefile should override this setting with
FORCE_SHARED_LIB and should not set