depot/third_party/nixpkgs/pkgs/tools/video/replay-sorcery/fix-global-config.patch
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

13 lines
428 B
Diff

diff --git a/src/rsbuild.h.in b/src/rsbuild.h.in
index ff0a0f6..5529556 100644
--- a/src/rsbuild.h.in
+++ b/src/rsbuild.h.in
@@ -20,7 +20,7 @@
#ifndef RS_BUILD_H
#define RS_BUILD_H
-#define RS_BUILD_GLOBAL_CONFIG "@CMAKE_INSTALL_PREFIX@/etc/replay-sorcery.conf"
+#define RS_BUILD_GLOBAL_CONFIG "/etc/replay-sorcery.conf"
#define RS_BUILD_LOCAL_CONFIG "%s/.config/replay-sorcery.conf"
#cmakedefine RS_BUILD_PTHREAD_FOUND