Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 16 lines 503 B view raw
1diff --git a/src/plugin-main.cpp b/src/plugin-main.cpp 2index 0d94add..617af73 100644 3--- a/src/plugin-main.cpp 4+++ b/src/plugin-main.cpp 5@@ -244,10 +244,7 @@ const NDIlib_v4 *load_ndilib() 6 if (!path.isEmpty()) { 7 locations << path; 8 } 9-#if defined(__linux__) || defined(__APPLE__) 10- locations << "/usr/lib"; 11- locations << "/usr/local/lib"; 12-#endif 13+ locations << "@NDI@/lib"; 14 for (auto location : locations) { 15 path = QDir::cleanPath( 16 QDir(location).absoluteFilePath(NDILIB_LIBRARY_NAME));