From 654f3ed7ec7595d8df2c833dd4f58e5f469689a4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 17 Jul 2025 14:06:00 +0100 Subject: [PATCH] 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 --- meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb b/meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb index 8835b7d97b..df8fd4bd26 100644 --- a/meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb +++ b/meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb @@ -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\d+\.(\d*[02468])+(\.\d+)+)" ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"