Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 20 lines 680 B view raw
1diff --git a/src/plugin-main.cpp b/src/plugin-main.cpp 2index 43f0e28..5e393c6 100644 3--- a/src/plugin-main.cpp 4+++ b/src/plugin-main.cpp 5@@ -412,14 +412,7 @@ const NDIlib_v5 *load_ndilib() 6 if (!temp_path.isEmpty()) { 7 locations << temp_path; 8 } 9-#if defined(Q_OS_LINUX) || defined(Q_OS_MACOS) 10- // Linux, MacOS 11- // https://github.com/DistroAV/DistroAV/blob/master/lib/ndi/NDI%20SDK%20Documentation.pdf 12- // "6.1 LOCATING THE LIBRARY 13- // ... the redistributable on MacOS is installed within `/usr/local/lib` ..." 14- locations << "/usr/lib"; 15- locations << "/usr/local/lib"; 16-#endif 17+ locations << "@NDI@/lib"; 18 auto lib_path = QString(); 19 #if defined(Q_OS_LINUX) 20 // Linux