summaryrefslogtreecommitdiff
path: root/src/ctx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctx.cpp')
-rw-r--r--src/ctx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ctx.cpp b/src/ctx.cpp
index abe3bb4..7f4c88a 100644
--- a/src/ctx.cpp
+++ b/src/ctx.cpp
@@ -132,8 +132,8 @@ next:
#elif XS_HAVE_PLUGINS
// Load all the installed plug-ins.
- std::string path (XS_PREFIX_PATH);
- path += "/lib/xs/plugins";
+ std::string path (XS_LIBDIR_PATH);
+ path += "/xs/plugins";
DIR *dp = opendir (path.c_str ());
if (!dp && (errno == ENOENT || errno == EACCES || errno == ENOTDIR))