diff --git a/chapter07/python.xml b/chapter07/python.xml index 872cf4a36..a75d5ad6f 100644 --- a/chapter07/python.xml +++ b/chapter07/python.xml @@ -52,9 +52,10 @@ Prepare Python for compilation: -./configure --prefix=/usr \ - --enable-shared \ - --without-ensurepip +./configure --prefix=/usr \ + --enable-shared \ + --without-ensurepip \ + --without-static-libpython The meaning of the configure option: @@ -74,6 +75,13 @@ + + --without-static-libpython + + This switch prevents building a large, but unneeded, static + library. + + Compile the package: diff --git a/chapter08/python.xml b/chapter08/python.xml index 0cbce0b0c..63a7e24cd 100644 --- a/chapter08/python.xml +++ b/chapter08/python.xml @@ -77,14 +77,6 @@ - - --without-static-libpython - - This switch prevents building a large, but unneeded, static - library. - - - Compile the package: