gstreamer/tools/meson.build
Peter Seiderer 51253830f3 meson: static linkig of tools needs gmodule_dep
Add gmodule_dep (analog to gstreamer/tools/meson.build).

Fixes:

.../bin/ld: .../usr/lib/libgstreamer-1.0.a(gstplugin.c.o): in function `gst_plugin_register_func':
gstplugin.c:(.text+0x3bc): undefined reference to `g_module_make_resident'
.../bin/ld: .../usr/lib/libgstreamer-1.0.a(gstplugin.c.o): in function `_priv_gst_plugin_load_file_for_registry':
gstplugin.c:(.text+0x1228): undefined reference to `g_module_supported'
.../bin/ld: gstplugin.c:(.text+0x126c): undefined reference to `g_module_open'
.../bin/ld: gstplugin.c:(.text+0x1368): undefined reference to `g_module_symbol'
.../bin/ld: gstplugin.c:(.text+0x1494): undefined reference to `g_module_supported'
.../bin/ld: gstplugin.c:(.text+0x17f4): undefined reference to `g_module_close'
.../bin/ld: gstplugin.c:(.text+0x1a2c): undefined reference to `g_module_error'
2020-03-04 14:48:15 +00:00

28 lines
872 B
Meson

tool_deps = glib_deps + [pbutils_dep, audio_dep, video_dep, tag_dep, gst_dep, gst_base_dep, gmodule_dep]
executable('gst-device-monitor-@0@'.format(api_version),
'gst-device-monitor.c',
install: true,
c_args : gst_plugins_base_args,
include_directories: [configinc],
dependencies : tool_deps,
)
install_man('gst-device-monitor-@0@.1'.format(api_version))
executable('gst-discoverer-@0@'.format(api_version),
'gst-discoverer.c',
install: true,
c_args : gst_plugins_base_args,
include_directories: [configinc],
dependencies : tool_deps,
)
install_man('gst-discoverer-@0@.1'.format(api_version))
executable('gst-play-@0@'.format(api_version),
'gst-play.c', 'gst-play-kb.c',
install: true,
c_args : gst_plugins_base_args,
include_directories: [configinc],
dependencies : tool_deps + [libm],
)
install_man('gst-play-@0@.1'.format(api_version))