Skip to content

Commit

Permalink
add prefix arg (#2824)
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido authored Nov 29, 2022
1 parent 069a3ef commit 839256e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reference/conanfile/tools/gnu/autotoolstoolchain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ constructor

.. code:: python
def __init__(self, conanfile, namespace=None):
def __init__(self, conanfile, namespace=None, prefix="/"):
- ``conanfile``: the current recipe object. Always use ``self``.
- ``namespace``: this argument avoids collisions when you have multiple toolchain calls in the same
Expand All @@ -87,6 +87,7 @@ constructor
the name of the generated file is *conanbuild.conf*. This namespace must be also set with the same
value in the constructor of the :ref:`Autotools build helper<conan_tools_gnu_build_helper>` so that
it reads the information from the proper file.
- ``prefix``: Folder to use for ``--prefix`` argument ("/" by default).


Attributes
Expand Down

0 comments on commit 839256e

Please sign in to comment.