summaryrefslogtreecommitdiff
path: root/guix/hardcode-ndi-path.patch
blob: 00daa40f424f701f9419b29a29289375df89d142 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/obs-ndi.cpp	1970-01-01 03:00:01.000000000 +0300
+++ b/src/obs-ndi.cpp	2024-08-04 03:58:33.271766959 +0300
@@ -229,10 +229,7 @@
 	if (!path.isEmpty()) {
 		locations << path;
 	}
-#if defined(__linux__) || defined(__APPLE__)
-	locations << "/usr/lib";
-	locations << "/usr/local/lib";
-#endif
+	locations << "@NDI@/lib";
 	for (QString location : locations) {
 		path = QDir::cleanPath(
 			QDir(location).absoluteFilePath(NDILIB_LIBRARY_NAME));