]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc/build.rst: note about meson python module
authorAleš Mrázek <ales.mrazek@nic.cz>
Tue, 18 Oct 2022 17:29:26 +0000 (19:29 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Sun, 30 Oct 2022 00:49:32 +0000 (02:49 +0200)
doc/build.rst

index ae890f901284db9f8408cf95a9809d0e27b21c3e..6287d70974c041713b311da72b61ba13122489fc 100644 (file)
@@ -161,7 +161,13 @@ You can also configure some :ref:`build-options`, in this case enable ``manager`
 
 .. code-block:: bash
 
-   $ meson build_dir --prefix=/tmp/kr --default-library=static -Dmanager=enabled
+   $ meson build_dir --prefix=/tmp/kr --default-library=static -Dmanager=enabled -Dpython.install_env=auto
+
+.. note::
+
+   For the ``manager``, it is recommended to set ``python.install_env`` option to ``auto`` or ``env``.
+   Otherwise, python package may not be installed in the correct packages or virtual environment.
+   See more on `meson:python-module <https://mesonbuild.com/Builtin-options.html#python-module>`_.
 
 After that it is possible to build and install Knot Resolver.