aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/paludis_python_so.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/paludis_python_so.cc b/python/paludis_python_so.cc
index 51d655ec3..62663a9d5 100644
--- a/python/paludis_python_so.cc
+++ b/python/paludis_python_so.cc
@@ -19,6 +19,8 @@
#include <paludis_python.hh>
+#include <boost/version.hpp>
+
void expose_contents();
void expose_dep_spec();
void expose_eapi();
@@ -39,7 +41,10 @@ void expose_version_spec();
BOOST_PYTHON_MODULE(paludis)
{
+#if BOOST_VERSION >= 103400
boost::python::docstring_options doc_options(true, false);
+#endif
+
expose_exception();
expose_version_spec();
expose_version_operator();