]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
gst-examples: Fix buttons in gtk-play at runtime
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Jul 2025 13:06:00 +0000 (14:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Jul 2025 16:15:15 +0000 (17:15 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb

index 8835b7d97bc37aa1ba9eb0bfafbec9a6594aa568..df8fd4bd26378481d533c0e31bfe3c8f9d74feb3 100644 (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}"