File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ A shared library produced by ``library()`` or ``shared_library()`` built like th
6464
6565 is installed to ``libdir `` by default. If the only reason the shared library exists
6666is to be used inside the Python package being built, then it is best to modify
67- the install location, via the ``install_dir `` argument, to be within
67+ the install location, via the ``install_dir `` argument, to be within
6868the Python package itself:
6969
7070.. code-block :: meson
@@ -73,15 +73,15 @@ the Python package itself:
7373 'example',
7474 'examplelib.c',
7575 install: true,
76- install_dir: py3 .get_install_dir() / 'mypkg/subdir',
76+ install_dir: py .get_install_dir() / 'mypkg/subdir',
7777 )
7878
7979 Then an extension module in the same install directory can link against the
8080shared library in a portable manner by using ``install_rpath ``:
8181
8282.. code-block :: meson
8383
84- py3 .extension_module('_extmodule',
84+ py .extension_module('_extmodule',
8585 '_extmodule.c',
8686 link_with: example_lib,
8787 install: true,
You can’t perform that action at this time.
0 commit comments