From 95bc91e0209ff0b5798d901f2dfd197f6d4311de Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Fri, 3 Mar 2023 12:13:29 +0100 Subject: Find system libraries using proper names Fixes Meson warnings. --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index befd2ed..1be61ff 100644 --- a/meson.build +++ b/meson.build @@ -59,7 +59,7 @@ have_resvg = false if not get_option('resvg').disabled() resvg = dependency('resvg', required : false) if not resvg.found() - resvg = cc.find_library('libresvg', required : get_option('resvg')) + resvg = cc.find_library('resvg', required : get_option('resvg')) if resvg.found() and not cc.has_header('resvg.h') error('resvg.h not found') endif @@ -164,7 +164,7 @@ jpegcrop = executable('fiv-jpegcrop', 'fiv-jpegcrop.c', rc, config, if get_option('tools').enabled() # libjq 1.6 lacks a pkg-config file, and there is no release in sight. # libjq 1.6 is required. - tools_dependencies = [cc.find_library('libjq'), dependency('libpng')] + tools_dependencies = [cc.find_library('jq'), dependency('libpng')] tools_c_args = cc.get_supported_arguments( '-Wno-unused-function', '-Wno-unused-parameter') foreach tool : ['pnginfo', 'jpeginfo', 'tiffinfo', 'webpinfo', 'bmffinfo'] -- cgit v1.2.3-70-g09d2