summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2022-10-17 21:37:18 +0200
committerAndras Timar <andras.timar@collabora.com>2022-10-17 21:37:18 +0200
commit8fbf378c676731ac0947c850ed402f5647b23738 (patch)
tree1a1249dbd9513f4f7137bfa572aae05c02621927 /external
parent7b502405a816396193717dbc9eafa0e52622f049 (diff)
[cp] cross compilation of libtiff on this branch
Change-Id: I4f3f7dbfa6b8f144e228835d52c20ab272ac3872
Diffstat (limited to 'external')
-rw-r--r--external/libtiff/ExternalProject_libtiff.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libtiff/ExternalProject_libtiff.mk b/external/libtiff/ExternalProject_libtiff.mk
index 04af18322541..73aa5bb1692e 100644
--- a/external/libtiff/ExternalProject_libtiff.mk
+++ b/external/libtiff/ExternalProject_libtiff.mk
@@ -64,7 +64,7 @@ $(call gb_ExternalProject_get_state_target,libtiff,build) :
ac_cv_lib_z_inflateEnd=yes \
ac_cv_lib_jpeg_jpeg_read_scanlines=yes \
ac_cv_lib_webp_WebPDecode=yes \
- $(gb_CONFIGURE_PLATFORMS) \
+ $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
&& cd libtiff && $(MAKE) libtiff.la \
)
$(call gb_Trace_EndRange,libtiff,EXTERNAL)