mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-115119: Detect _decimal dependencies using pkg-config (#115406)
pkg-config is supported for libmpdec 4.0.0 and newer.
This commit is contained in:
parent
ab6eda0ee5
commit
c7e7bfc4ca
5 changed files with 211 additions and 104 deletions
|
@ -389,6 +389,17 @@ Options for third-party dependencies
|
|||
C compiler and linker flags for ``libffi``, used by :mod:`ctypes` module,
|
||||
overriding ``pkg-config``.
|
||||
|
||||
.. option:: LIBMPDEC_CFLAGS
|
||||
.. option:: LIBMPDEC_LIBS
|
||||
|
||||
C compiler and linker flags for ``libmpdec``, used by :mod:`decimal` module,
|
||||
overriding ``pkg-config``.
|
||||
|
||||
.. note::
|
||||
|
||||
These environment variables have no effect unless
|
||||
:option:`--with-system-libmpdec` is specified.
|
||||
|
||||
.. option:: LIBLZMA_CFLAGS
|
||||
.. option:: LIBLZMA_LIBS
|
||||
|
||||
|
@ -798,6 +809,8 @@ Libraries options
|
|||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
.. seealso:: :option:`LIBMPDEC_CFLAGS` and :option:`LIBMPDEC_LIBS`.
|
||||
|
||||
.. option:: --with-readline=readline|editline
|
||||
|
||||
Designate a backend library for the :mod:`readline` module.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue