From e1e7064746c892544cb3bb72b54791cec2818ffd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 21 Feb 2019 14:18:34 -0800 Subject: gtk+3: Fix build failure with gold linker Explicitly link in libfribidi Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch (limited to 'meta/recipes-gnome/gtk+/gtk+3') diff --git a/meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch b/meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch new file mode 100644 index 0000000000..e4bbd799f1 --- /dev/null +++ b/meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch @@ -0,0 +1,19 @@ +Link with libfribidi, this is to avoid under linking where these functions are +used but the library is not linked in, and they are marked undefined by BFD linker +but gold linker refuses to link + +| ./.libs/libgdk-3.so: error: undefined reference to 'fribidi_get_bidi_type' + +Signed-off-by: Khem Raj +Upstream-Status: Pending + +--- a/gdk/Makefile.am ++++ b/gdk/Makefile.am +@@ -55,6 +55,7 @@ LDADD = \ + -version-info $(LT_VERSION_INFO) \ + -export-dynamic \ + -rpath $(libdir) \ ++ -lfribidi \ + $(no_undefined) + + # -- cgit 1.2.3-korg