diff options
Diffstat (limited to '0002-Use-pkg-config-to-find-external-libraries.patch')
-rw-r--r-- | 0002-Use-pkg-config-to-find-external-libraries.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/0002-Use-pkg-config-to-find-external-libraries.patch b/0002-Use-pkg-config-to-find-external-libraries.patch new file mode 100644 index 000000000000..c7425333726e --- /dev/null +++ b/0002-Use-pkg-config-to-find-external-libraries.patch @@ -0,0 +1,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" + ] + } |