diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-08-07 10:33:32 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-08-07 10:34:13 +0100 |
commit | 33019ba580cea41999ad3e4a059f12e9dae81738 (patch) | |
tree | 4c7c0d933f6b6a94b792b66fea2dcefb4714f2f6 /pkgconfig | |
parent | 087eca882733cf20e007171a161db964de254293 (diff) |
meson: add -lm to gstreamer-check-1.0 pkgconfig file
Fixes warning with meson from git about LIBM not being
defined in the configuration_data.
Diffstat (limited to 'pkgconfig')
-rw-r--r-- | pkgconfig/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build index ae27ce37e..23aa5d0e7 100644 --- a/pkgconfig/meson.build +++ b/pkgconfig/meson.build @@ -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', apiversion) pkgconf.set('VERSION', gst_version) +pkgconf.set('LIBM', mathlib.found() ? '-lm' : '') # Requires.private pkgconf.set('UNWIND_REQUIRE', cdata.has('HAVE_UNWIND') ? 'libunwind' : '') |