mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
rpicamsrc: fix "Could not find component vc.ril.camera" on recent raspios
Make extra sure all the required mmal libs such as libmmal_vc_client.so actually get linked and stay linked. Otherwise the above error happens it seems. buster (10.4) with meson 0.55 and pi ref 2020-05-27 pi-gen, 825107f04027269db77426046f5085475b1ea22f, stage5 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/682>
This commit is contained in:
parent
428c545e06
commit
477eba2dd7
1 changed files with 4 additions and 1 deletions
|
@ -60,6 +60,8 @@ rpi_warn_flags = cc.get_supported_arguments([
|
|||
'-Wno-stringop-truncation',
|
||||
])
|
||||
|
||||
rpi_link_flags = cc.get_supported_link_arguments(['-Wl,--no-as-needed'])
|
||||
|
||||
gnome = import('gnome')
|
||||
|
||||
enums = gnome.mkenums_simple('gstrpicam-enum-types',
|
||||
|
@ -67,12 +69,13 @@ enums = gnome.mkenums_simple('gstrpicam-enum-types',
|
|||
identifier_prefix: 'GstRpiCamSrc',
|
||||
symbol_prefix: 'gst_rpi_cam_src')
|
||||
|
||||
# we might need '-Wl,--no-as-needed' or b_asneeded=false on ubuntu, tbd
|
||||
gstrpicamsrc = library('gstrpicamsrc',
|
||||
rpicamsrc_sources, enums,
|
||||
c_args: [gst_plugins_good_args, rpi_inc_args, rpi_warn_flags],
|
||||
link_args: rpi_link_flags,
|
||||
include_directories: [configinc, libsinc],
|
||||
dependencies: [gst_dep, gstbase_dep, gstvideo_dep] + mmal_deps,
|
||||
override_options: ['b_asneeded=false'],
|
||||
install_dir: plugins_install_dir,
|
||||
install: true)
|
||||
|
||||
|
|
Loading…
Reference in a new issue