projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
087eca8
)
meson: add -lm to gstreamer-check-1.0 pkgconfig file
author
Tim-Philipp Müller
<tim@centricular.com>
Mon, 7 Aug 2017 09:33:32 +0000
(10:33 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 7 Aug 2017 09:34:13 +0000
(10:34 +0100)
Fixes warning with meson from git about LIBM not being
defined in the configuration_data.
pkgconfig/meson.build
patch
|
blob
|
history
diff --git
a/pkgconfig/meson.build
b/pkgconfig/meson.build
index
ae27ce3
..
23aa5d0
100644
(file)
--- 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' : '')