diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-03-03 12:13:29 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-03-03 12:14:06 +0100 |
commit | 95bc91e0209ff0b5798d901f2dfd197f6d4311de (patch) | |
tree | 7437858998deb4e38f35ffbfc265800cc6d6abb7 | |
parent | 1754bbcf45d9d80a9a1b4696540132eaf353b7e9 (diff) | |
download | fiv-95bc91e0209ff0b5798d901f2dfd197f6d4311de.tar.gz fiv-95bc91e0209ff0b5798d901f2dfd197f6d4311de.tar.xz fiv-95bc91e0209ff0b5798d901f2dfd197f6d4311de.zip |
Find system libraries using proper names
Fixes Meson warnings.
-rw-r--r-- | meson.build | 4 |
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'] |