--- a/src/common/rclconfig.cpp
+++ b/src/common/rclconfig.cpp
@@ -39,6 +39,7 @@
#include "cstr.h"
#include "pathut.h"
+#include "rclutil.h"
#include "rclconfig.h"
#include "conftree.h"
#include "debuglog.h"
@@ -144,7 +145,7 @@
}
// Compute our data dir name, typically /usr/local/share/recoll
- m_datadir = path_sharedatadir();
+ m_datadir = path_pkgdatadir();
// We only do the automatic configuration creation thing for the default
// config dir, not if it was specified through -c or RECOLL_CONFDIR
bool autoconfdir = false;