On 21/11/20 12:09, Stefan Weil wrote:
--- a/meson.build +++ b/meson.build @@ -649,9 +649,8 @@ if get_option('vnc').enabled() vnc = declare_dependency() # dummy dependency png = dependency('libpng', required: get_option('vnc_png'), method: 'pkg-config', static: enable_static) - jpeg = cc.find_library('jpeg', has_headers: ['jpeglib.h'], - required: get_option('vnc_jpeg'), - static: enable_static)
Does it work if you just remove "static: enable_static"? That asks Meson to look explicitly for a ".a" file instead of just adding a "-ljpeg" flag. However it is not what configure used to do so it shouldn't be necessary.
Paolo