Skip to content

Commit d78e9e8

Browse files
committed
Add symlink for libnvidia-opticalflow
1 parent b9545d7 commit d78e9e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/nvc_mount.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,10 @@ symlink_libraries(struct error *err, const struct nvc_container *cnt, const char
404404
/* XXX GLVND requires this symlink for indirect GLX support. */
405405
if (symlink_library(err, paths[i], lib, "libGLX_indirect.so.0", cnt->uid, cnt->gid) < 0)
406406
return (-1);
407+
} else if (str_has_prefix(lib, "libnvidia-opticalflow.so")) {
408+
/* XXX Fix missing symlink for libnvidia-opticalflow.so. */
409+
if (symlink_library(err, paths[i], "libnvidia-opticalflow.so.1", "libnvidia-opticalflow.so", cnt->uid, cnt->gid) < 0)
410+
return (-1);
407411
}
408412
}
409413
return (0);

0 commit comments

Comments
 (0)