summarylogtreecommitdiffstats
path: root/0002-Use-pkg-config-to-find-external-libraries.patch
blob: c7425333726e9f3b288ac6c53d2fd42940b8fb5c (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
25
26
27
28
29
--- 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"
             ]

--- a/qtimageformats/src/imageformats/configure.json	2019-11-19 11:47:49.000000000 -0300
+++ b/qtimageformats/src/imageformats/configure.json	2019-12-19 13:32:34.905053167 -0300
@@ -82,6 +82,7 @@
                 ]
             },
             "sources": [
+                { "type": "pkgConfig", "args": "libtiff-4" },
                 "-ltiff"
             ]
         },
@@ -112,6 +113,7 @@
                 ]
             },
             "sources": [
+                { "type": "pkgConfig", "args": "libwebp libwebpdemux libwebpmux" },
                 "-lwebp -lwebpdemux -lwebpmux"
             ]
         }