summaryrefslogtreecommitdiffstats
path: root/package/imagemagick
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-21 13:35:19 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-23 20:34:34 +0100
commitcf04b9e0c5f7b55817999a5dd01d7ce740fd3d8e (patch)
tree81aeee290e99f76ce5e89c16fa4b01825de62da8 /package/imagemagick
parent253f240cc5804bde4fab685cefa1f4479e5c6586 (diff)
downloadbuildroot-novena-cf04b9e0c5f7b55817999a5dd01d7ce740fd3d8e.tar.gz
buildroot-novena-cf04b9e0c5f7b55817999a5dd01d7ce740fd3d8e.zip
imagemagick: help configure to detect file_offset_bits
imagemagick configure script wants to run programs to detect the file_offset_bits, but fails since it is running cross-compile mode. Therefore, we help the configure script by passing the appropriate ac_cv variable. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/imagemagick')
-rw-r--r--package/imagemagick/imagemagick.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index 2bcd076cd..e8584306e 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -31,6 +31,12 @@ $(IMAGEMAGICK_DIR)/.unpacked: $(DL_DIR)/$(IMAGEMAGICK_SOURCE)
$(CONFIG_UPDATE) $(IMAGEMAGICK_DIR)/config
touch $@
+ifeq ($(BR2_LARGEFILE),y)
+IMAGEMAGICK_CONF_OPTS = ac_cv_sys_file_offset_bits=64
+else
+IMAGEMAGICK_CONF_OPTS = ac_cv_sys_file_offset_bits=32
+endif
+
$(IMAGEMAGICK_DIR)/.configured: $(IMAGEMAGICK_DIR)/.unpacked
(cd $(IMAGEMAGICK_DIR); rm -f config.cache; \
$(TARGET_CONFIGURE_OPTS) \
@@ -55,6 +61,7 @@ $(IMAGEMAGICK_DIR)/.configured: $(IMAGEMAGICK_DIR)/.unpacked
--without-fpx \
--without-freetype \
--without-x \
+ $(IMAGEMAGICK_CONF_OPTS) \
)
touch $@