Skip to content

Commit 1247b7c

Browse files
authored
Update spkg-build.in
1 parent 24ff6a5 commit 1247b7c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

build/pkgs/python3/spkg-build.in

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,6 @@ export EXTRA_CFLAGS="`testcflags.sh -Wno-unused $OLD_CFLAGS`"
6262
# https://github.com/sagemath/sage/issues/23398
6363
PYTHON_CONFIGURE="$PYTHON_CONFIGURE --without-ensurepip"
6464

65-
# Set PKG_CONFIG_PATH to help Python 3.13+ find sqlite3 and other dependencies
66-
# Python 3.13 changed its build system and now uses pkg-config at configure time
67-
if [ -n "$SAGE_LOCAL" ]; then
68-
export PKG_CONFIG_PATH="$SAGE_LOCAL/lib/pkgconfig:${PKG_CONFIG_PATH}"
69-
fi
70-
71-
# Ensure Python can find headers and libraries during configure (not just make)
72-
# This is critical for Python 3.13+ which detects extension modules at configure time
73-
if [ -n "$SAGE_LOCAL" ]; then
74-
export CPPFLAGS="-I$SAGE_LOCAL/include $CPPFLAGS"
75-
export LDFLAGS="-L$SAGE_LOCAL/lib $LDFLAGS"
76-
fi
77-
7865
sdh_configure --enable-shared $PYTHON_CONFIGURE
7966

8067
# Make sure -L. is placed before -L$SAGE_LOCAL/lib so that python and extension

0 commit comments

Comments
 (0)