Skip to content

Commit c5d653c

Browse files
committed
Dockerfile: Build shared libpython3.12
Build shared libpython3.12 so that the SDK gdb-py link against it. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
1 parent 477b369 commit c5d653c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ RUN <<EOF
118118
wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz
119119
tar Jxf Python-${PYTHON_VERSION}.tar.xz
120120
pushd Python-${PYTHON_VERSION}
121-
./configure --enable-optimizations --with-ensurepip=install
121+
./configure --enable-shared --enable-optimizations --with-ensurepip=install
122122
make -j$(nproc)
123123
make altinstall
124+
ldconfig
124125
popd
125126
rm -rf Python-${PYTHON_VERSION}
126127
rm Python-${PYTHON_VERSION}.tar.xz

0 commit comments

Comments
 (0)