Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit81376fe

Browse files
gh-128321: Set LIBS instead of LDFLAGS when checking sqlite3 requirements (#128322)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
1 parentef63cca commit81376fe

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Set ``LIBS`` instead of ``LDFLAGS`` when checking if:mod:`sqlite3` library
2+
functions are available. This fixes the ordering of linked libraries during
3+
checks, which was incorrect when using a statically linked ``libsqlite3``.

‎configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4220,7 +4220,7 @@ WITH_SAVE_ENV([
42204220
dnl bpo-45774/GH-29507: The CPP check in AC_CHECK_HEADER can fail on FreeBSD,
42214221
dnl hence CPPFLAGS instead of CFLAGS.
42224222
CPPFLAGS="$CPPFLAGS $LIBSQLITE3_CFLAGS"
4223-
LDFLAGS="$LIBSQLITE3_LIBS $LDFLAGS"
4223+
LIBS="$LIBSQLITE3_LIBS $LIBS"
42244224
42254225
AC_CHECK_HEADER([sqlite3.h],[
42264226
have_sqlite3=yes

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp