meson: fix a few meson warnings
authorTim-Philipp Müller <tim@centricular.com>
Mon, 7 Aug 2017 23:13:01 +0000 (00:13 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 7 Aug 2017 23:13:01 +0000 (00:13 +0100)
docs/meson.build
pkgconfig/meson.build

index a44c239..8c72872 100644 (file)
@@ -1,7 +1,7 @@
 docconf = configuration_data()
 
 docconf.set('GST_API_VERSION', api_version)
-docconf.set('PACKAGE_VERSION', gst_version)
+docconf.set('VERSION', gst_version)
 docconf.set('PLUGINDIR', '@0@/lib/gstreamer-1.0'.format(get_option('prefix')))
 
 version_entities = configure_file(input : 'version.entities.in',
index ebc23f7..e878ad8 100644 (file)
@@ -6,6 +6,7 @@ pkgconf.set('libdir', '${prefix}/@0@'.format(get_option('libdir')))
 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' : '')
 
 # needed for generating -uninstalled.pc files
 pkgconf.set('abs_top_builddir', join_paths(meson.current_build_dir(), '..'))