meson: add zlib to gstreamer-1.0.pc if found

https://bugzilla.gnome.org/show_bug.cgi?id=793995
This commit is contained in:
Tim-Philipp Müller 2018-08-12 00:21:58 +01:00
parent c9f975ea0c
commit e997d2baf5

View file

@ -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