xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Link with libfribidi, this is to avoid under linking where these functions are
2used but the library is not linked in, and they are marked undefined by BFD linker
3but gold linker refuses to link
4
5| ./.libs/libgdk-3.so: error: undefined reference to 'fribidi_get_bidi_type'
6
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8Upstream-Status: Pending
9
10--- a/gdk/Makefile.am
11+++ b/gdk/Makefile.am
12@@ -55,6 +55,7 @@ LDADD = 					\
13 	-version-info $(LT_VERSION_INFO)	\
14 	-export-dynamic 			\
15 	-rpath $(libdir) 			\
16+	-lfribidi	 			\
17 	$(no_undefined)
18
19 #
20