diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-02-10 18:43:43 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-02-22 07:47:13 +0000 |
commit | dab01380434c60e088c5c8e7416b35e867e8733f (patch) | |
tree | f015475314452b800a16479d8d3863e909daaa0a /src/gui/configure.json | |
parent | 421bbefb9da3c31133833f82efafc8f29ec7e728 (diff) |
make more use of 'use' in library detection
now that it works nicely, make use of it for the zlib deps, which are
not transitive when the detected library is built statically.
Change-Id: Iaed87a37b36f714f0b919244cd84809650102ba9
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/gui/configure.json')
-rw-r--r-- | src/gui/configure.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/configure.json b/src/gui/configure.json index 9b93bcf3e2..68bc43b5ca 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -159,9 +159,10 @@ "test": "unix/libpng", "sources": [ { "type": "pkgConfig", "args": "libpng" }, - { "libs": "-llibpng -lzdll", "condition": "config.msvc" }, - { "libs": "-lpng -lz", "condition": "!config.msvc" } - ] + { "libs": "-llibpng", "condition": "config.msvc" }, + { "libs": "-lpng", "condition": "!config.msvc" } + ], + "use": "zlib" }, "mirclient": { "label": "Mir client libraries", |