[cairo] [PATCH 16/72] drm: fix importing of libdrm

Bryce Harrington bryce at osg.samsung.com
Wed Jan 13 17:49:12 PST 2016


On Tue, Dec 29, 2015 at 10:16:54AM +0100, Enrico Weigelt, metux IT consult wrote:
> We need to link against libdrm to use its functions.
> 
> Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>

Rather a no-brainer, surprised this wasn't specified already.

Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 2ce1959..a3cf311 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -296,7 +296,7 @@ CAIRO_ENABLE_SURFACE_BACKEND(beos, BeOS/Zeta, no, [
>  dnl ===========================================================================
>  
>  CAIRO_ENABLE_SURFACE_BACKEND(drm, DRM, no, [
> -  drm_REQUIRES="libudev >= 136"
> +  drm_REQUIRES="libudev >= 136, libdrm >= 2.4"
>    PKG_CHECK_MODULES(drm, $drm_REQUIRES, ,
>     [use_drm="no (requires $drm_REQUIRES, udev is available from git://git.kernel.org/pub/scm/linux/hotplug/udev.git)"])
>  ])
> -- 
> 2.6.4.442.g545299f
> 
> -- 
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list