mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[3.13] gh-128321: Set LIBS instead of LDFLAGS when checking sqlite3 requirements (GH-128322) (#128356)
(cherry picked from commit 81376fef76
)
Co-authored-by: Zanie Blue <contact@zanie.dev>
Co-authored-by: Erlend E. Aasland <erlend@python.org>
This commit is contained in:
parent
207a81ac19
commit
5a892cbd46
3 changed files with 5 additions and 2 deletions
|
@ -4185,7 +4185,7 @@ WITH_SAVE_ENV([
|
|||
dnl bpo-45774/GH-29507: The CPP check in AC_CHECK_HEADER can fail on FreeBSD,
|
||||
dnl hence CPPFLAGS instead of CFLAGS.
|
||||
CPPFLAGS="$CPPFLAGS $LIBSQLITE3_CFLAGS"
|
||||
LDFLAGS="$LIBSQLITE3_LIBS $LDFLAGS"
|
||||
LIBS="$LIBSQLITE3_LIBS $LIBS"
|
||||
|
||||
AC_CHECK_HEADER([sqlite3.h], [
|
||||
have_sqlite3=yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue