aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/helpers.c')
-rw-r--r--lang/python/helpers.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/python/helpers.c b/lang/python/helpers.c
index 0406f9f8..0b4a7736 100644
--- a/lang/python/helpers.c
+++ b/lang/python/helpers.c
@@ -28,6 +28,15 @@
#include "helpers.h"
#include "private.h"
+/* Flag specifying whether this is an in-tree build. */
+int pyme_in_tree_build =
+#if IN_TREE_BUILD
+ 1
+#else
+ 0
+#endif
+ ;
+
static PyObject *GPGMEError = NULL;
void _pyme_exception_init(void) {