summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/proprietary.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Xconfig/proprietary.pm')
-rw-r--r--lib/Xconfig/proprietary.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/proprietary.pm b/lib/Xconfig/proprietary.pm
index ab89520..78c1cd8 100644
--- a/lib/Xconfig/proprietary.pm
+++ b/lib/Xconfig/proprietary.pm
@@ -90,7 +90,7 @@ sub may_use_Driver2 {
if ($card2->{Driver} eq 'nvidia') {
$check_drv->('nvidia_drv', "nvidia$card2->{DriverVersion}") or return;
- my $libglx_path = Xconfig::card::modules_dir() . "/extensions/nvidia$card2->{DriverVersion}";
+ my $libglx_path = "/usr/$lib/nvidia$card2->{DriverVersion}/xorg";
-e "$::prefix$libglx_path/libglx.so" or log::l("special NVIDIA libglx missing"), return;
log::explanations("Using specific NVIDIA driver and GLX extensions");