summaryrefslogtreecommitdiff
path: root/src/ctx.cpp
diff options
context:
space:
mode:
authorGabriele Svelto <gabriele.svelto@gmail.com>2012-05-16 20:12:05 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-05-20 06:52:34 +0200
commit7f2c7dad20135db9a898d9a9e5533783575a3fd0 (patch)
tree7230699d190722a9b1352f062eade5cd2b36da39 /src/ctx.cpp
parent8c23de9f2abc2ec21d4b74785fd175050909176e (diff)
Install plugins under $(libdir) to simplify multi-arch packaging
Signed-off-by: Gabriele Svelto <gabriele.svelto@gmail.com>
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))