gst-examples: Fix buttons in gtk-play at runtime

The media player buttons weren't working. At runtime there were warnings
like:

(gtk-play:824): Gtk-WARNING **: 12:37:53.946: Could not find signal handler 'next_button_clicked_cb'.  Did you compile with -rdynamic?

Add the missing linker option to make the buttons work.

[YOCTO #15915]

(From OE-Core rev: 5571061e26a98804670b0d39b86f3b3b205061b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2025-07-17 14:06:00 +01:00
parent 4b83fe5745
commit 654f3ed7ec

View File

@ -18,6 +18,9 @@ S = "${UNPACKDIR}/${BP}/subprojects/gst-examples"
inherit meson pkgconfig features_check
# gtk-play has runtime errors otherwise
TARGET_LDFLAGS += "-rdynamic"
UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)"
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"