summarylogtreecommitdiffstats
path: root/0004-Use-pkg-config-to-find-libjpeg.patch
blob: 9292b8b1a951fce6796e0c0b8364e2fe1a490660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 9cd435c730949e29104bbfa2bdd82ed2c662ca3d Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sat, 7 Sep 2019 13:21:37 +0200
Subject: [PATCH 4/4] Use pkg-config to find libjpeg

---
 qtbase/src/gui/configure.json | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qtbase/src/gui/configure.json b/qtbase/src/gui/configure.json
index 6280b4dfa2..206f83984a 100644
--- a/qtbase/src/gui/configure.json
+++ b/qtbase/src/gui/configure.json
@@ -373,6 +373,7 @@
             },
             "headers": "jpeglib.h",
             "sources": [
+                { "type": "pkgConfig", "args": "libjpeg" },
                 { "libs": "-llibjpeg", "condition": "config.msvc" },
                 "-ljpeg"
             ]
--
2.23.0