OSDN Git Service

loader: don't limit the non-udev path to only android
authorJonathan Gray <jsg@jsg.id.au>
Tue, 18 Mar 2014 14:59:16 +0000 (01:59 +1100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 5 Apr 2014 11:17:28 +0000 (12:17 +0100)
commit380f05ccc305bad7568ce19ea7e27cae39998d08
tree2e0f73089088905c57c5db0365c9be7947dea5e4
parent727f54a76e03d61462914862d3111afe798547f5
loader: don't limit the non-udev path to only android

Platforms that lack libudev (OpenBSD and possibly others) need
this change in order to load the correct dri driver.
Under linux we unconditionally require libudev, thus this code
will never get build.

v2: Add commit message (Emil Velikov)

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/loader/loader.c