Link to sharpyuv when 'RUNTIME_LINK'=='static' (webp)

This commit is contained in:
Artem Pavlenko 2024-03-28 15:57:14 +00:00
parent 1e4c17256a
commit a9e0bf5bee

View file

@ -92,6 +92,8 @@ if '-DHAVE_TIFF' in env['CPPDEFINES']:
if '-DHAVE_WEBP' in env['CPPDEFINES']:
lib_env['LIBS'].append('webp')
if env['RUNTIME_LINK'] == 'static':
lib_env['LIBS'].append('sharpyuv');
enabled_imaging_libraries.append('webp_reader.cpp')
enabled_imaging_libraries.append('webp_io.cpp')