diff options
Diffstat (limited to 'plugins/dalvik')
-rw-r--r-- | plugins/dalvik/core.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/dalvik/core.c b/plugins/dalvik/core.c index d7e5a04..3220e2d 100644 --- a/plugins/dalvik/core.c +++ b/plugins/dalvik/core.c @@ -24,6 +24,7 @@ #include "core.h" +#include <config.h> #include <plugins/plugin-def.h> @@ -34,9 +35,16 @@ #include "v35/core.h" +#ifdef HAVE_PYTHON3_BINDINGS +# define PG_REQ RL("PyChrysalide") +#else +# define PG_REQ NO_REQ +#endif + + DEFINE_CHRYSALIDE_PLUGIN("GDalvikPlugin", "dalvik", "Add support for the Dalvik architecture", "0.1.0", - RL("PyChrysalide"), AL(PGA_PLUGIN_INIT, PGA_PLUGIN_EXIT)); + PG_REQ, AL(PGA_PLUGIN_INIT, PGA_PLUGIN_EXIT)); |