mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 04:05:34 +00:00
csharp: Make nuget targets depend on underlying libraries
Without this, build will fail if meson/ninja decides to call nuget before building gstreamer-sharp.dll. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5961>
This commit is contained in:
parent
0cbb396ab9
commit
2bc9abd60b
1 changed files with 3 additions and 1 deletions
|
@ -138,7 +138,8 @@ if ges_dep.found()
|
||||||
'--builddir', meson.current_build_dir(),
|
'--builddir', meson.current_build_dir(),
|
||||||
'--dependency', 'GstSharp:' + meson.project_version(),
|
'--dependency', 'GstSharp:' + meson.project_version(),
|
||||||
],
|
],
|
||||||
output: 'GESSharp.' + meson.project_version() + '.nupkg'
|
output: 'GESSharp.' + meson.project_version() + '.nupkg',
|
||||||
|
depends: [ges_sharp]
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -155,6 +156,7 @@ custom_target('GstSharp-nuget',
|
||||||
'--builddir', meson.current_build_dir(),
|
'--builddir', meson.current_build_dir(),
|
||||||
],
|
],
|
||||||
output: 'GstSharp.' + meson.project_version() + '.nupkg',
|
output: 'GstSharp.' + meson.project_version() + '.nupkg',
|
||||||
|
depends: [gst_sharp]
|
||||||
)
|
)
|
||||||
|
|
||||||
subdir('samples')
|
subdir('samples')
|
||||||
|
|
Loading…
Reference in a new issue