diff options
-rw-r--r-- | DRIVER_VERSION | 2 | ||||
-rw-r--r-- | files.c | 12 | ||||
-rw-r--r-- | nvidia-installer.h | 2 |
3 files changed, 14 insertions, 2 deletions
diff --git a/DRIVER_VERSION b/DRIVER_VERSION index 736cc9a..c88280c 100644 --- a/DRIVER_VERSION +++ b/DRIVER_VERSION @@ -1 +1 @@ -190.42 +190.53 @@ -503,6 +503,16 @@ int set_destinations(Options *op, Package *p) case FILE_TYPE_OPENGL_LIB: case FILE_TYPE_OPENGL_SYMLINK: + if (p->entries[i].flags & FILE_CLASS_COMPAT32) { + prefix = op->compat32_prefix; + dir = op->compat32_libdir; + } else { + prefix = op->opengl_prefix; + dir = op->opengl_libdir; + } + path = ""; + break; + case FILE_TYPE_VDPAU_LIB: case FILE_TYPE_VDPAU_SYMLINK: if (p->entries[i].flags & FILE_CLASS_COMPAT32) { @@ -512,7 +522,7 @@ int set_destinations(Options *op, Package *p) prefix = op->opengl_prefix; dir = op->opengl_libdir; } - path = ""; + path = p->entries[i].path; break; case FILE_TYPE_CUDA_LIB: diff --git a/nvidia-installer.h b/nvidia-installer.h index 046ea62..342f840 100644 --- a/nvidia-installer.h +++ b/nvidia-installer.h @@ -370,6 +370,8 @@ typedef struct { FILE_TYPE_TLS_SYMLINK | \ FILE_TYPE_DOT_DESKTOP | \ FILE_TYPE_DOCUMENTATION | \ + FILE_TYPE_VDPAU_SYMLINK | \ + FILE_TYPE_VDPAU_LIB | \ FILE_TYPE_VDPAU_HEADER) #define FILE_TYPE_HAVE_ARCH (FILE_TYPE_OPENGL_LIB | \ |