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:
Piotrek Brzeziński 2024-01-19 13:07:12 +01:00 committed by GStreamer Marge Bot
parent 0cbb396ab9
commit 2bc9abd60b

View file

@ -138,7 +138,8 @@ if ges_dep.found()
'--builddir', meson.current_build_dir(),
'--dependency', 'GstSharp:' + meson.project_version(),
],
output: 'GESSharp.' + meson.project_version() + '.nupkg'
output: 'GESSharp.' + meson.project_version() + '.nupkg',
depends: [ges_sharp]
)
endif
@ -155,6 +156,7 @@ custom_target('GstSharp-nuget',
'--builddir', meson.current_build_dir(),
],
output: 'GstSharp.' + meson.project_version() + '.nupkg',
depends: [gst_sharp]
)
subdir('samples')