static build from gst-build not working
Not that #88 (closed) is fixed I was hoping to be able use gst-full
with Rust plugins but turned it doesn't work:
$ meson build-static/ -D gstreamer:check=enabled --default-library=static --auto-features=disabled -Drs=enabled && ninja -C build-static
(...)
meson.build:303:2: ERROR: Link target '<CustomTarget 5cdc952@@gst-plugins-rs@cus: ['/usr/bin/python3', '/var/home/cassidy/dev/gst/gst-build/subprojects/gst-plugins-rs/cargo_wrapper.py', 'build', '/var/home/cassidy/dev/gst/gst-build/build-static/subprojects/gst-plugins-rs', '/var/home/cassidy/dev/gst/gst-build/subprojects/gst-plugins-rs', '/var/home/cassidy/dev/gst/gst-build/build-static', 'debug', 'gst-plugin-dav1d,gst-plugin-csound', '', 'a']>' is not linkable.
Looks like meson does not like our custom target.
@xclaesse : what would be the proper way to fix this? Is it possible to craft static_library()
objects from the ones generated by cargo and use that instead?