-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
Modern python (at least since 2.7) has a script called python-config
that provides all the paths necessary for building embedded interpreter C integration code. This can be supported via a new configure option (to avoid breaking any existing build scripts or exotic python installs):
# use python-config in path
./configure --with-python-config
# use specific python-config exe
./configure --with-python-config=/path/to/pythonX.Y-config
This could also be bolted on to the existing --with-python
, instead of as a separate option. See gdb for an example of kitchen sync python build configuration:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=gdb/configure.ac;h=50f6f592ba677ce8e0b3cd36b0df607ace03efe8;hb=HEAD#l728
Metadata
Metadata
Assignees
Labels
No labels