From 1109e4ef5f11f961ad28c018551693d92dde96f7 Mon Sep 17 00:00:00 2001
From: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Date: Wed, 4 Mar 2015 11:40:39 +0100
Subject: [PATCH] Respect use-system-jpeg Qt setting

Forward the system-jpeg Qt setting to chromium.

Change-Id: I646176fdf6a1c7818828dc8b24543cc885cc3688
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
---
 src/core/config/desktop_linux.pri | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/core/config/desktop_linux.pri b/src/core/config/desktop_linux.pri
index 500e04448..041b094a1 100644
--- a/src/core/config/desktop_linux.pri
+++ b/src/core/config/desktop_linux.pri
@@ -16,4 +16,6 @@ GYP_CONFIG += \
     host_clang=0 \
     clang=0 \
 
+contains(QT_CONFIG, system-jpeg): GYP_CONFIG += use_system_libjpeg=1
+
 !contains(QT_CONFIG, pulseaudio): GYP_CONFIG += use_pulseaudio=0
-- 
GitLab