summaryrefslogtreecommitdiff
path: root/plugins/lnxsyscalls
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-31 19:15:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-31 19:15:26 (GMT)
commit531be2e3a96bf13cd36035cec7faa31b2534a742 (patch)
treed8c2b5f6d5601a1adfa7356f45879bb5f0fca348 /plugins/lnxsyscalls
parent1307580ca1ca820b57dcfbfcdcee9afe74cc1614 (diff)
Changed the location of installed plugins.
Diffstat (limited to 'plugins/lnxsyscalls')
-rw-r--r--plugins/lnxsyscalls/Makefile.am4
-rw-r--r--plugins/lnxsyscalls/db.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/lnxsyscalls/Makefile.am b/plugins/lnxsyscalls/Makefile.am
index a68e18e..654420b 100644
--- a/plugins/lnxsyscalls/Makefile.am
+++ b/plugins/lnxsyscalls/Makefile.am
@@ -1,7 +1,7 @@
lib_LTLIBRARIES = liblnxsyscalls.la
-libdir = $(pluginsdir)
+libdir = $(pluginslibdir)
liblnxsyscalls_la_SOURCES = \
@@ -26,7 +26,7 @@ EXTRA_DIST = linux-syscalls.db
db_DATA = linux-syscalls.db
-dbdir = $(pluginsdir)
+dbdir = $(pluginsdatadir)
devdir = $(includedir)/chrysalide-$(subdir)
diff --git a/plugins/lnxsyscalls/db.c b/plugins/lnxsyscalls/db.c
index d6325b5..1c28981 100644
--- a/plugins/lnxsyscalls/db.c
+++ b/plugins/lnxsyscalls/db.c
@@ -54,7 +54,7 @@ sqlite3 *open_syscalls_database(const GPluginModule *plugin)
char *filename; /* Chemin vers la base */
int ret; /* Bilan d'un appel */
- filename = find_plugin_file("lnxsyscalls", "linux-syscalls.db");
+ filename = find_plugin_data_file("lnxsyscalls", "linux-syscalls.db");
if (filename == NULL)
{