056d25098f
According to the imlib2 people, if you don't support dlopen(), you have a "crap box": image.h:16:4: warning: #warning "your crap box doesn't define RTLD_LOCAL !?" So, let's disable imlib2 when doing static linking. Fixes: http://autobuild.buildroot.net/results/b5e/b5ee859409cd626b769e8a159026e60ec6f29180/ [Peter: fix imlib2 comment as pointed out by Thomas] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
43 lines
954 B
Plaintext
43 lines
954 B
Plaintext
comment "imlib2 needs a toolchain w/ dynamic library"
|
|
depends on BR2_PREFER_STATIC_LIB
|
|
|
|
config BR2_PACKAGE_IMLIB2
|
|
bool "imlib2"
|
|
select BR2_PACKAGE_FREETYPE
|
|
depends on !BR2_PREFER_STATIC_LIB # 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
|