From 8b75b41c4d13562046d85f6ad51e638358986203 Mon Sep 17 00:00:00 2001
From: Calvin Walton <calvin.walton@kepstin.ca>
Date: Tue, 24 Mar 2015 11:21:25 -0400
Subject: 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

diff --git a/configure.ac b/configure.ac
index 1574857..aae5296 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,6 +90,7 @@ MUTTER_PC_MODULES="
    xkeyboard-config
    xkbcommon >= 0.4.3
    xkbcommon-x11
+   xrender
    x11-xcb
    xcb-randr
 "
-- 
cgit v0.10.2

