buildrootschalter/package/giblib/Config.in
Thomas Petazzoni 056d25098f imlib2: uses dlopen(), not available in static cases
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>
2014-04-29 23:09:00 +02:00

14 lines
350 B
Plaintext

config BR2_PACKAGE_GIBLIB
bool "giblib"
depends on BR2_PACKAGE_XORG7
depends on !BR2_PREFER_STATIC_LIB
select BR2_PACKAGE_IMLIB2
select BR2_PACKAGE_IMLIB2_X
help
Giblib is a simple library which wraps imlib2.
http://linuxbrit.co.uk/giblib/
comment "giblib support needs a toolchain w/ dynamic library"
depends on BR2_PREFER_STATIC_LIB