aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-07 12:54:17 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-07 12:54:17 -0500
commit8e2a517acb2c0f6e984fdfbf0d39f5b7d776bf1c (patch)
tree9786d212011e5c63bd2ba67a7ef95ff4c82793ee
parent25346f097ddbd7957b8a48d94305ab04ce290ff0 (diff)
Fix a header so that #include <python3.9/Python.h> works.
-rw-r--r--chapter8/python.sh2
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 \