From dab01380434c60e088c5c8e7416b35e867e8733f Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 10 Feb 2017 18:43:43 +0100 Subject: 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 --- src/sql/configure.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/sql') diff --git a/src/sql/configure.json b/src/sql/configure.json index 4c24d1913b..45b3fd9dd1 100644 --- a/src/sql/configure.json +++ b/src/sql/configure.json @@ -114,8 +114,10 @@ "test": "unix/sqlite", "sources": [ { "type": "pkgConfig", "args": "sqlite3" }, - { "libs": "-lsqlite3", "condition": "config.win32" }, - { "libs": "-lsqlite3 -lz", "condition": "!config.win32" } + "-lsqlite3" + ], + "use": [ + { "lib": "zlib", "condition": "!config.win32" } ] } }, -- cgit v1.2.3