mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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>
This commit is contained in:
@@ -31,6 +31,12 @@ $(IMAGEMAGICK_DIR)/.unpacked: $(DL_DIR)/$(IMAGEMAGICK_SOURCE)
|
|||||||
$(CONFIG_UPDATE) $(IMAGEMAGICK_DIR)/config
|
$(CONFIG_UPDATE) $(IMAGEMAGICK_DIR)/config
|
||||||
touch $@
|
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
|
$(IMAGEMAGICK_DIR)/.configured: $(IMAGEMAGICK_DIR)/.unpacked
|
||||||
(cd $(IMAGEMAGICK_DIR); rm -f config.cache; \
|
(cd $(IMAGEMAGICK_DIR); rm -f config.cache; \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
@@ -55,6 +61,7 @@ $(IMAGEMAGICK_DIR)/.configured: $(IMAGEMAGICK_DIR)/.unpacked
|
|||||||
--without-fpx \
|
--without-fpx \
|
||||||
--without-freetype \
|
--without-freetype \
|
||||||
--without-x \
|
--without-x \
|
||||||
|
$(IMAGEMAGICK_CONF_OPTS) \
|
||||||
)
|
)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user