aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-03-03 12:13:29 +0100
committerPřemysl Eric Janouch <p@janouch.name>2023-03-03 12:14:06 +0100
commit95bc91e0209ff0b5798d901f2dfd197f6d4311de (patch)
tree7437858998deb4e38f35ffbfc265800cc6d6abb7
parent1754bbcf45d9d80a9a1b4696540132eaf353b7e9 (diff)
downloadfiv-95bc91e0209ff0b5798d901f2dfd197f6d4311de.tar.gz
fiv-95bc91e0209ff0b5798d901f2dfd197f6d4311de.tar.xz
fiv-95bc91e0209ff0b5798d901f2dfd197f6d4311de.zip
Find system libraries using proper names
Fixes Meson warnings.
-rw-r--r--meson.build4
1 files 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']