mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
16 lines
458 B
Meson
16 lines
458 B
Meson
microdns_dep = dependency('microdns', required: get_option('microdns'),
|
|
fallback: ['libmicrodns', 'mdns_dep'])
|
|
|
|
if microdns_dep.found()
|
|
incdirs = [configinc]
|
|
|
|
gstmicrodns = library('gstmicrodns',
|
|
['gstmicrodns.c', 'gstmicrodnsdevice.c'],
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : incdirs,
|
|
dependencies : [gst_dep, microdns_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstmicrodns]
|
|
endif
|