Skip to content

Commit ab73ca7

Browse files
AMDmi3caclark
authored andcommitted
Detect libtiff properly through pkgconfig
1 parent c5d7536 commit ab73ca7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ endif
401401
tiff_dep = []
402402
option = get_option('tiff')
403403
if not option.disabled()
404-
tiff_dep = cc.find_library('libtiff', required: get_option('tiff'))
404+
tiff_dep = dependency('libtiff-4', required: get_option('tiff'))
405405
if tiff_dep.found()
406406
if cc.has_function('TIFFClientOpen', dependencies : tiff_dep)
407407
conf_data.set('HAVE_TIFF', 1)

0 commit comments

Comments
 (0)