Include libXrender as a dependency, link it to libmutter

Mutter uses a function from libXrender (XRenderFindStandardFormat in
src/x11/iconcache.c), but doesn't link to libXrender. This causes
link issues on systems using the gold linker, particularly with
-Wl,--as-needed.

Since mutter is using a function from libXrender, adding 'xrender'
as a dependency seems appropriate, and fixes the issue.

https://bugzilla.gnome.org/show_bug.cgi?id=746692
This commit is contained in:
Calvin Walton 2015-03-24 11:21:25 -04:00 committed by Adel Gadllah
parent d4e8d97e58
commit c3455b01af

View File

@ -90,6 +90,7 @@ MUTTER_PC_MODULES="
xkeyboard-config xkeyboard-config
xkbcommon >= 0.4.3 xkbcommon >= 0.4.3
xkbcommon-x11 xkbcommon-x11
xrender
x11-xcb x11-xcb
xcb-randr xcb-randr
" "