diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build index 04abfbee5a..f5b8ece8ef 100644 --- a/pkgconfig/meson.build +++ b/pkgconfig/meson.build @@ -7,6 +7,7 @@ pkgconf.set('includedir', '${prefix}/@0@'.format(get_option('includedir'))) pkgconf.set('GST_API_VERSION', api_version) pkgconf.set('VERSION', gst_version) pkgconf.set('LIBM', libm.found() ? '-lm' : '') +pkgconf.set('ZLIB_LIBS', zlib_dep.found() ? '-lz' : '') pkgconf.set('ORC_PC', have_orcc ? 'orc-0.4' : '') # needed for generating -uninstalled.pc files