summaryrefslogtreecommitdiffstats
path: root/contrib/libjpeg-turbo
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2020-06-16 23:05:15 -0400
committerBradley Sepos <[email protected]>2020-06-16 23:05:15 -0400
commit8bde4795cb80ba7916b9378abe05e71f5835e81e (patch)
treec04b71d3fe17eed1a477e49235039c745427e5e2 /contrib/libjpeg-turbo
parentcbce13ddfe926818c1a9812e39d8f2944f018bf7 (diff)
contrib: Fixup harfbuzz and libjpeg-turbo cmake system name defines per #2654 and bc4a502d.
Diffstat (limited to 'contrib/libjpeg-turbo')
-rw-r--r--contrib/libjpeg-turbo/module.defs3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/libjpeg-turbo/module.defs b/contrib/libjpeg-turbo/module.defs
index 9e8a85a76..dddfec5de 100644
--- a/contrib/libjpeg-turbo/module.defs
+++ b/contrib/libjpeg-turbo/module.defs
@@ -37,8 +37,9 @@ ifeq (1,$(HOST.cross))
LIBJPEGTURBO.CONFIGURE.extra += -DCMAKE_CXX_COMPILER=$(LIBJPEGTURBO.GCC.gxx)
LIBJPEGTURBO.CONFIGURE.extra += -DCMAKE_CXX_FLAGS="-static-libgcc -static-libstdc++ -static"
LIBJPEGTURBO.CONFIGURE.extra += -DCMAKE_RC_COMPILER=$(HOST.cross.prefix)windres
+ else
+ LIBJPEGTURBO.CONFIGURE.args.host = -DCMAKE_SYSTEM_NAME="$(LIBJPEGTURBO.CONFIGURE.host)"
endif
- LIBJPEGTURBO.CONFIGURE.args.host = -DCMAKE_SYSTEM_NAME="$(LIBJPEGTURBO.CONFIGURE.host)"
LIBJPEGTURBO.CONFIGURE.args.build = -DCMAKE_HOST_SYSTEM="$(LIBJPEGTURBO.CONFIGURE.build)"
else
LIBJPEGTURBO.CONFIGURE.args.host = -DCMAKE_HOST_SYSTEM="$(LIBJPEGTURBO.CONFIGURE.host)"