diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-09-10 22:02:21 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-09-10 22:02:21 (GMT) |
commit | b370370a9e35f9dd2357102b17338d3d93bb62aa (patch) | |
tree | b8a8c5019a0705a75cf9cf8572c07219bc159076 /plugins/dexbnf | |
parent | 2424c52c4f3bc44ce5f36348442cfa103e0989c2 (diff) |
Tune the compilation using flags instead of a config file.
Diffstat (limited to 'plugins/dexbnf')
-rw-r--r-- | plugins/dexbnf/core.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/dexbnf/core.c b/plugins/dexbnf/core.c index 37e5a15..07e7545 100644 --- a/plugins/dexbnf/core.c +++ b/plugins/dexbnf/core.c @@ -24,18 +24,17 @@ #include "core.h" -#include <config.h> #include <core/demanglers.h> #include <plugins/self.h> #include "demangler.h" -#ifdef HAVE_PYTHON3_BINDINGS +#ifdef INCLUDE_PYTHON3_BINDINGS # include "python/module.h" #endif -#ifdef HAVE_PYTHON3_BINDINGS +#ifdef INCLUDE_PYTHON3_BINDINGS # define PG_REQ RL("PyChrysalide") #else # define PG_REQ NO_REQ @@ -67,7 +66,7 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin) result = register_demangler_type(G_TYPE_DEX_DEMANGLER); -#ifdef HAVE_PYTHON3_BINDINGS +#ifdef INCLUDE_PYTHON3_BINDINGS if (result) result = add_mangling_dexbnf_module_to_python_module(); #endif |