Skip to content

Commit

Permalink
Use --with-dbmliborder or macOS+Homebrew on 3.10 and below (#1433)
Browse files Browse the repository at this point in the history
  • Loading branch information
encukou authored Oct 9, 2024
1 parent bd3f9fd commit 9fb3c00
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion getting-started/setup-building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,12 @@ some of CPython's modules (for example, ``zlib``).
./configure --with-pydebug \
--with-openssl="$(brew --prefix openssl@3)" \
--with-tcltk-libs="$(pkg-config --libs tcl tk)" \
--with-tcltk-includes="$(pkg-config --cflags tcl tk)"
--with-tcltk-includes="$(pkg-config --cflags tcl tk)" \
--with-dbmliborder=gdbm:ndbm

(``--with-dbmliborder`` is a workaround for a Homebrew-specific change
to ``gdbm``; see `#89452 <https://github.com/python/cpython/issues/89452>`_
for details.)

.. tab:: MacPorts

Expand Down

0 comments on commit 9fb3c00

Please sign in to comment.