diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-07 12:54:17 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-07 12:54:17 -0500 |
commit | 8e2a517acb2c0f6e984fdfbf0d39f5b7d776bf1c (patch) | |
tree | 9786d212011e5c63bd2ba67a7ef95ff4c82793ee /chapter8/python.sh | |
parent | 25346f097ddbd7957b8a48d94305ab04ce290ff0 (diff) |
Fix a header so that #include <python3.9/Python.h> works.
Diffstat (limited to 'chapter8/python.sh')
-rw-r--r-- | chapter8/python.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chapter8/python.sh b/chapter8/python.sh index f0e1ce9..f78b41b 100644 --- a/chapter8/python.sh +++ b/chapter8/python.sh @@ -1,5 +1,7 @@ #!/bin/bash +sed 's|cpython/||' -i Include/cpython/pystate.h + ./configure --prefix=/usr \ --enable-shared \ --with-system-expat \ |