forked from pool/hidviz
2nd attempt OBS-URL: https://build.opensuse.org/request/show/752933 OBS-URL: https://build.opensuse.org/package/show/hardware/hidviz?expand=0&rev=1
17 lines
689 B
Diff
17 lines
689 B
Diff
Index: hidviz-0.1.5/libhidx/libhidx/src/Connector.cc
|
|
===================================================================
|
|
--- hidviz-0.1.5.orig/libhidx/libhidx/src/Connector.cc
|
|
+++ hidviz-0.1.5/libhidx/libhidx/src/Connector.cc
|
|
@@ -84,10 +84,7 @@ namespace libhidx {
|
|
|
|
std::string UnixSocketConnector::getServerPath() {
|
|
const static std::vector<std::string> possiblePaths{
|
|
- getExecutablePath() + "/../libhidx/libhidx_server_daemon",
|
|
- getExecutablePath() + "/../libexec",
|
|
- "/usr/local/libexec",
|
|
- "/usr/libexec"
|
|
+ "__LIBEXECDIR__"
|
|
};
|
|
const static std::string executableName{"libhidx_server_daemon"};
|
|
|