665e13c85e
Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
43 lines
942 B
Plaintext
43 lines
942 B
Plaintext
comment "imlib2 needs a toolchain w/ dynamic library"
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
config BR2_PACKAGE_IMLIB2
|
|
bool "imlib2"
|
|
select BR2_PACKAGE_FREETYPE
|
|
depends on !BR2_STATIC_LIBS # dlopen()
|
|
help
|
|
Imlib 2 is the successor to Imlib. This library provides
|
|
routines to load, save and render images in various formats.
|
|
|
|
http://freshmeat.net/projects/imlib2/
|
|
|
|
if BR2_PACKAGE_IMLIB2
|
|
|
|
config BR2_PACKAGE_IMLIB2_JPEG
|
|
bool "JPEG support"
|
|
select BR2_PACKAGE_JPEG
|
|
|
|
config BR2_PACKAGE_IMLIB2_PNG
|
|
bool "PNG support"
|
|
select BR2_PACKAGE_LIBPNG
|
|
|
|
config BR2_PACKAGE_IMLIB2_GIF
|
|
bool "GIF support"
|
|
select BR2_PACKAGE_LIBUNGIF
|
|
|
|
config BR2_PACKAGE_IMLIB2_TIFF
|
|
bool "TIFF support"
|
|
select BR2_PACKAGE_TIFF
|
|
|
|
config BR2_PACKAGE_IMLIB2_ID3
|
|
bool "ID3 support"
|
|
select BR2_PACKAGE_LIBID3TAG
|
|
|
|
config BR2_PACKAGE_IMLIB2_X
|
|
bool "X support"
|
|
default y
|
|
depends on BR2_PACKAGE_XORG7
|
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
select BR2_PACKAGE_XLIB_LIBX11
|
|
endif
|