summaryrefslogtreecommitdiff
path: root/lang_ext
diff options
context:
space:
mode:
Diffstat (limited to 'lang_ext')
-rw-r--r--lang_ext/python/setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang_ext/python/setup.py b/lang_ext/python/setup.py
index 53cbef1..ec34e7d 100644
--- a/lang_ext/python/setup.py
+++ b/lang_ext/python/setup.py
@@ -6,7 +6,8 @@ setup(name='upb',
Extension('upb.cext', ['definition.c', 'pb.c', 'cext.c'],
include_dirs=['../../src', '../../descriptor'],
define_macros=[("UPB_USE_PTHREADS", 1),
- ("UPB_UNALIGNED_READS_OK", 1)],
+ ("UPB_UNALIGNED_READS_OK", 1),
+ ("UPB_THREAD_UNSAFE", 1)],
library_dirs=['../../src'],
libraries=['upb_pic'],
),
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback