| 1 |
diff --git a/python/dolfin/jit/pybind11jit.py b/python/dolfin/jit/pybind11jit.py |
| 2 |
index d7a6e3fd5..7dda881d7 100644 |
| 3 |
--- a/python/dolfin/jit/pybind11jit.py |
| 4 |
+++ b/python/dolfin/jit/pybind11jit.py |
| 5 |
@@ -42,7 +42,7 @@ def compile_cpp_code(cpp_code, **kwargs): |
| 6 |
|
| 7 |
# Set compiler/build options |
| 8 |
# FIXME: need to locate Python libs and pybind11 |
| 9 |
- from distutils import sysconfig |
| 10 |
+ import sysconfig |
| 11 |
params = dijitso.params.default_params() |
| 12 |
pyversion = "python" + sysconfig.get_config_var("LDVERSION") |
| 13 |
params['cache']['lib_prefix'] = "" |