mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
meson: gst-play: link to libm
gst-play.c depends on libm due to using `round`. Passing by, correct identation of `gst_tools` definition. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7492>
This commit is contained in:
parent
9f5fd625a1
commit
b9207beef6
1 changed files with 18 additions and 18 deletions
|
@ -25,24 +25,24 @@ if host_system == 'windows'
|
|||
endif
|
||||
endif
|
||||
|
||||
gst_tools = {
|
||||
'gst-device-monitor': {
|
||||
'files': files('gst-device-monitor.c'),
|
||||
'deps': tool_deps,
|
||||
'man_page': files('gst-device-monitor-@0@.1'.format(api_version))
|
||||
},
|
||||
'gst-discoverer': {
|
||||
'files': files('gst-discoverer.c'),
|
||||
'deps': tool_deps,
|
||||
'man_page': files('gst-discoverer-@0@.1'.format(api_version))
|
||||
},
|
||||
'gst-play': {
|
||||
'files': files('gst-play.c', 'gst-play-kb.c'),
|
||||
'deps': tool_deps + extra_deps,
|
||||
'man_page': files('gst-play-@0@.1'.format(api_version)),
|
||||
'extra_c_args': extra_args
|
||||
},
|
||||
}
|
||||
gst_tools = {
|
||||
'gst-device-monitor': {
|
||||
'files': files('gst-device-monitor.c'),
|
||||
'deps': tool_deps,
|
||||
'man_page': files('gst-device-monitor-@0@.1'.format(api_version))
|
||||
},
|
||||
'gst-discoverer': {
|
||||
'files': files('gst-discoverer.c'),
|
||||
'deps': tool_deps,
|
||||
'man_page': files('gst-discoverer-@0@.1'.format(api_version))
|
||||
},
|
||||
'gst-play': {
|
||||
'files': files('gst-play.c', 'gst-play-kb.c'),
|
||||
'deps': tool_deps + libm + extra_deps,
|
||||
'man_page': files('gst-play-@0@.1'.format(api_version)),
|
||||
'extra_c_args': extra_args
|
||||
},
|
||||
}
|
||||
|
||||
if not get_option('tools').disabled() and not static_build
|
||||
foreach tool, data: gst_tools
|
||||
|
|
Loading…
Reference in a new issue