From: Richard Purdie Date: Thu, 17 Jul 2025 13:06:00 +0000 (+0100) Subject: gst-examples: Fix buttons in gtk-play at runtime X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5571061e26a98804670b0d39b86f3b3b205061b1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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] Signed-off-by: Richard Purdie --- 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}"