summaryrefslogtreecommitdiff
path: root/indra/llfilesystem/lldir_linux.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-07-30 19:02:54 +0800
committerErik Kundiman <erik@megapahit.org>2023-07-30 19:02:54 +0800
commite08ad14176502a8cc26b401c48b7161ce8c39140 (patch)
tree299e13da764a500e297c44bcd620564cd85fb505 /indra/llfilesystem/lldir_linux.cpp
parent9aac948d59cee9bce12098b060d94aeba33efa86 (diff)
SLPlugin is in libexec when installed to system
Diffstat (limited to 'indra/llfilesystem/lldir_linux.cpp')
-rw-r--r--indra/llfilesystem/lldir_linux.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llfilesystem/lldir_linux.cpp b/indra/llfilesystem/lldir_linux.cpp
index 80ad05345a..300cab39d6 100644
--- a/indra/llfilesystem/lldir_linux.cpp
+++ b/indra/llfilesystem/lldir_linux.cpp
@@ -83,7 +83,11 @@ LLDir_Linux::LLDir_Linux()
mExecutableFilename = "";
mExecutablePathAndName = "";
+#ifdef APP_LIBEXEC_DIR
+ mExecutableDir = APP_LIBEXEC_DIR;
+#else
mExecutableDir = tmp_str;
+#endif
mWorkingDir = tmp_str;
#ifdef APP_RO_DATA_DIR
mAppRODataDir = APP_RO_DATA_DIR;