Erlend E. Aasland <erlend.aasl...@innova.no> added the comment:

FWIW, the XCode SDKs for macOS 11 and 12 use the NetBSD editline library.


$ grep "NetBSD: readline" 
/Library/Developer/CommandLineTools/SDKs/MacOSX*.sdk/usr/include/readline/readline.h
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/readline/readline.h:/*
  $NetBSD: readline.h,v 1.33 2012/05/15 17:30:04 christos Exp $   */
/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/readline/readline.h:/*
      $NetBSD: readline.h,v 1.33 2012/05/15 17:30:04 christos Exp $   */
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/readline/readline.h:/*
      $NetBSD: readline.h,v 1.33 2012/05/15 17:30:04 christos Exp $   */
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/readline/readline.h:/*
        $NetBSD: readline.h,v 1.33 2012/05/15 17:30:04 christos Exp $   */
/Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include/readline/readline.h:/*
      $NetBSD: readline.h,v 1.33 2012/05/15 17:30:04 christos Exp $   */
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/readline/readline.h:/*
        $NetBSD: readline.h,v 1.33 2012/05/15 17:30:04 christos Exp $   */
$ grep RL_READLINE_VERSION 
/Library/Developer/CommandLineTools/SDKs/MacOSX*.sdk/usr/include/readline/readline.h
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/readline/readline.h:#define
 RL_READLINE_VERSION         0x0402
/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/readline/readline.h:#define
 RL_READLINE_VERSION     0x0402
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/readline/readline.h:#define
 RL_READLINE_VERSION     0x0402
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/readline/readline.h:#define
 RL_READLINE_VERSION       0x0402
/Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include/readline/readline.h:#define
 RL_READLINE_VERSION     0x0402
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/readline/readline.h:#define
 RL_READLINE_VERSION       0x0402


This is what Homebrew provides:

$ PKG_CONFIG_PATH=$(brew --prefix readline)/lib/pkgconfig pkg-config readline 
--cflags --libs
-I/usr/local/Cellar/readline/8.1.1/include 
-L/usr/local/Cellar/readline/8.1.1/lib -lreadline

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46100>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to