summaryrefslogtreecommitdiff
path: root/plugins/ropgadgets
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ropgadgets')
-rw-r--r--plugins/ropgadgets/plugin.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/ropgadgets/plugin.c b/plugins/ropgadgets/plugin.c
index d560c88..1e8aef6 100644
--- a/plugins/ropgadgets/plugin.c
+++ b/plugins/ropgadgets/plugin.c
@@ -24,6 +24,7 @@
#include "plugin.h"
+#include <config.h>
#include <i18n.h>
@@ -35,9 +36,16 @@
#include "select.h"
+#ifdef HAVE_PYTHON3_BINDINGS
+# define PG_REQ RL("PyChrysalide")
+#else
+# define PG_REQ NO_REQ
+#endif
+
+
DEFINE_CHRYSALIDE_PLUGIN("GROPPlugin", "ROP gadgets", "Find available gadgets for a ROP chain", "0.1.0",
- RL("PyChrysalide"), AL(PGA_PLUGIN_INIT));
+ PG_REQ, AL(PGA_PLUGIN_INIT));