diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-17 14:06:00 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-21 23:00:18 +0100 |
| commit | 654f3ed7ec7595d8df2c833dd4f58e5f469689a4 (patch) | |
| tree | a1f355067008eafb4782fc5b4886bca46e24bc79 | |
| parent | 4b83fe5745f12cdbeef9f038f60e704884e08e66 (diff) | |
| download | poky-654f3ed7ec7595d8df2c833dd4f58e5f469689a4.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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" | |||
| 18 | 18 | ||
| 19 | inherit meson pkgconfig features_check | 19 | inherit meson pkgconfig features_check |
| 20 | 20 | ||
| 21 | # gtk-play has runtime errors otherwise | ||
| 22 | TARGET_LDFLAGS += "-rdynamic" | ||
| 23 | |||
| 21 | UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" | 24 | UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" |
| 22 | 25 | ||
| 23 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 26 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
