imagemagick: Fix configure on x86_64

imagemagick has configure time execution test for large file offset
they wont be able to run in cross compile. We cache it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Khem Raj
2011-09-19 11:24:18 +00:00
committed by Koen Kooi
parent e50b52752d
commit 6cbe04603a
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e1ebcc1358b9f81eba64255fc5da6892"
# FIXME: There is much more checked libraries. All should be added or explicitly disabled to get consistent results.
DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib"
PR = "r7"
PR = "r8"
PATCHSET = "1"
SRC_URI = "ftp://ftp.nluug.nl/pub/ImageMagick/ImageMagick-${PV}-${PATCHSET}.tar.bz2 \
@@ -32,3 +32,7 @@ FILES_${PN}-dbg += "${libdir}/ImageMagick-${IMVER}/modules-Q16/*/.debug/*"
BBCLASSEXTEND = "native"
LEAD_SONAME = "libMagickCore.so.*"
do_configure_prepend() {
export ac_cv_sys_file_offset_bits=yes
}