c6ca5b8f13
GitOrigin-RevId: e4d49de45a3b5dbcb881656b4e3986e666141ea9
27 lines
1.6 KiB
Diff
27 lines
1.6 KiB
Diff
diff --git a/source/config.h.in b/source/config.h.in
|
|
index 6b659c2..f7bdf22 100644
|
|
--- a/source/config.h.in
|
|
+++ b/source/config.h.in
|
|
@@ -108,8 +108,8 @@ namespace cmd {
|
|
}
|
|
|
|
namespace wrapper {
|
|
- constexpr char DEFAULT_PATH[] = "@ROOT_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/bear/wrapper";
|
|
- constexpr char DEFAULT_DIR_PATH[] = "@ROOT_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/bear/wrapper.d";
|
|
+ constexpr char DEFAULT_PATH[] = "@CMAKE_INSTALL_LIBDIR@/bear/wrapper";
|
|
+ constexpr char DEFAULT_DIR_PATH[] = "@CMAKE_INSTALL_LIBDIR@/bear/wrapper.d";
|
|
|
|
constexpr char FLAG_VERBOSE[] = "--verbose";
|
|
constexpr char FLAG_DESTINATION[] = "--destination";
|
|
@@ -134,9 +134,9 @@ namespace cmd {
|
|
// And use the `libexec.so` path default value with a single path,
|
|
// that matches both. (The match can be achieved by the $LIB token
|
|
// expansion from the dynamic loader. See `man ld.so` for more.)
|
|
- constexpr char DEFAULT_PATH[] = "@ROOT_INSTALL_PREFIX@/$LIB/bear/@CMAKE_SHARED_LIBRARY_PREFIX@exec@CMAKE_SHARED_LIBRARY_SUFFIX@";
|
|
+ constexpr char DEFAULT_PATH[] = "$LIB/bear/@CMAKE_SHARED_LIBRARY_PREFIX@exec@CMAKE_SHARED_LIBRARY_SUFFIX@";
|
|
#else
|
|
- constexpr char DEFAULT_PATH[] = "@ROOT_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/bear/@CMAKE_SHARED_LIBRARY_PREFIX@exec@CMAKE_SHARED_LIBRARY_SUFFIX@";
|
|
+ constexpr char DEFAULT_PATH[] = "@CMAKE_INSTALL_LIBDIR@/bear/@CMAKE_SHARED_LIBRARY_PREFIX@exec@CMAKE_SHARED_LIBRARY_SUFFIX@";
|
|
#endif
|
|
constexpr char KEY_REPORTER[] = "INTERCEPT_REPORT_COMMAND";
|
|
constexpr char KEY_DESTINATION[] = "INTERCEPT_REPORT_DESTINATION";
|