summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/ctx.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 033ba52..390dc50 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -151,7 +151,7 @@ else
libxs_la_LDFLAGS = -version-info @LIBXS_ABI_VERSION@ @LIBXS_EXTRA_LDFLAGS@
endif
-libxs_la_CPPFLAGS = -DXS_PREFIX_PATH='"$(prefix)"'
+libxs_la_CPPFLAGS = -DXS_LIBDIR_PATH='"$(libdir)"'
libxs_la_CXXFLAGS = @LIBXS_EXTRA_CXXFLAGS@
if BUILD_PGM
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))