mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
meson: Use dep.type_name() when it makes sense
This commit is contained in:
parent
040b71a3d9
commit
8754d0520f
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
|||
env.set('GST_STATE_IGNORE_ELEMENTS', '')
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.build_root())
|
||||
if not meson.is_subproject()
|
||||
if gst_dep.type_name() == 'pkgconfig'
|
||||
env.append('GST_PLUGIN_PATH_1_0', gst_dep.get_pkgconfig_variable('pluginsdir'))
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue