package/x11r7/xserver_xorg-server: Add libdrm dependency when dri or dri2 is enabled
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 8 Aug 2015 11:59:06 +0000 (13:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Aug 2015 10:28:41 +0000 (12:28 +0200)
commit77397b1c72323b8019b94abba7ca03af1aee2c0f
tree99b3e4d7454609d89ae2dbddf81117f6ba89a763
parentd23c4d4f4d6148e7f33c73af86611020a61b8cbb
package/x11r7/xserver_xorg-server: Add libdrm dependency when dri or dri2 is enabled

Fixes compile error using this defconfig
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSERVER_XORG_SERVER=y
BR2_PACKAGE_XPROTO_DRI2PROTO=y

drmVersionPtr is referenced not only in hw/xfree86/dri2/dri2.c
but also in hw/xfree86/dri/dri.c.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xserver_xorg-server/Config.in