PY_CHECK_SQLITE_FUNC() adds -lsqlite3 multiple times

Đang mở
#94,165 1 bình luận 1 reaction 1 người được giao Xem trên GitHub

@erlend-aasland đang làm issue này rồi.

Từ ngày 23/6/2022.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

3.11 3.12 3.13 build type-bug

Bug report

The configure.ac macro PY_CHECK_SQLITE_FUNC keeps on adding -lsqlite3 over and over again. This seems to cause some problems on Emscripten with a static libsqlite3.a file.

configure:12473: checking for sqlite3.h
configure:12473: result: yes
configure:12496: gcc -c   -I$(srcdir)/Modules/_sqlite  conftest.c >&5
configure:12496: $? = 0
configure:12500: checking for sqlite3_bind_double in -lsqlite3
configure:12525: gcc -o conftest   -I$(srcdir)/Modules/_sqlite  -lsqlite3   conftest.c -lsqlite3  -ldl  >&5
configure:12525: $? = 0
configure:12534: result: yes
configure:12551: checking for sqlite3_column_decltype in -lsqlite3
configure:12576: gcc -o conftest   -I$(srcdir)/Modules/_sqlite  -lsqlite3   conftest.c -lsqlite3  -lsqlite3 -ldl  >&5
configure:12576: $? = 0
configure:12585: result: yes
...
configure:12806: checking for sqlite3_result_double in -lsqlite3
configure:12831: gcc -o conftest   -I$(srcdir)/Modules/_sqlite  -lsqlite3   conftest.c -lsqlite3  -lsqlite3 -lsqlite3 -lsqlite3 -lsqlite3 -lsqlite3 -lsqlite3 -ldl  >&5

Erlend is going to look into the problem.

Ngôn ngữ chính
Python
Star
77.2k
Fork
36k
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
558

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python/cpython

Tất cả issue của python/cpython

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.