biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / video / obs-studio / plugins / obs-ndi / hardcode-ndi-path.patch
blobc8b400b682d841731677d87a313b1aa895653466
1 diff --git a/src/plugin-main.cpp b/src/plugin-main.cpp
2 index 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;
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));