diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-04-29 21:00:16 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-04-29 23:09:00 +0200 |
commit | 056d25098fb73505a8c173e52de3fafa070bab44 (patch) | |
tree | 2b16ba9653443e9d2ef1c5de0f5c14c3fbc5333e /package/directfb | |
parent | 80bff82be1211e64bac3a20184d29747687bbda1 (diff) |
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>
Diffstat (limited to 'package/directfb')
-rw-r--r-- | package/directfb/Config.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/directfb/Config.in b/package/directfb/Config.in index 59e2580ba..e3c93a12e 100644 --- a/package/directfb/Config.in +++ b/package/directfb/Config.in @@ -110,6 +110,10 @@ config BR2_PACKAGE_DIRECTFB_GIF config BR2_PACKAGE_DIRECTFB_IMLIB2 bool "enable IMLIB2 support" select BR2_PACKAGE_IMLIB2 + depends on !BR2_PREFER_STATIC_LIB + +comment "imlib2 support needs a toolchain w/ dynamic library" + depends on BR2_PREFER_STATIC_LIB config BR2_PACKAGE_DIRECTFB_JPEG bool "enable JPEG support" |