summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Xconfig')
-rw-r--r--lib/Xconfig/proprietary.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Xconfig/proprietary.pm b/lib/Xconfig/proprietary.pm
index 78c1cd8..34b1c4f 100644
--- a/lib/Xconfig/proprietary.pm
+++ b/lib/Xconfig/proprietary.pm
@@ -70,7 +70,8 @@ sub may_use_Driver2 {
my $check_drv = sub {
my ($drv, $o_subdir) = @_;
- my @l = (if_($o_subdir, "$modules_dir/drivers/$o_subdir/$drv.so"),
+ my @l = (if_($o_subdir, "$modules_dir/drivers/$o_subdir/$drv.so",
+ "/usr/$lib/$o_subdir/xorg/$drv.so"),
"$modules_dir/drivers/$drv.so",
"$modules_dir/drivers/$drv.o");
my $has = find { -e "$::prefix$_" } @l;