File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff 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-
7865sdh_configure --enable-shared $PYTHON_CONFIGURE
7966
8067# Make sure -L. is placed before -L$SAGE_LOCAL/lib so that python and extension
You can’t perform that action at this time.
0 commit comments