Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
PY_CHECK_SQLITE_FUNC
-lsqlite3
libsqlite3.a
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.
The text was updated successfully, but these errors were encountered:
AC_CHECK_LIB([sqlite3], ...) adds -lsqlite3 a second time after it has been added by LDFLAGS="$LIBSQLITE3_LIBS $LDFLAGS"
AC_CHECK_LIB([sqlite3], ...)
LDFLAGS="$LIBSQLITE3_LIBS $LDFLAGS"
Sorry, something went wrong.
pythongh-94165: Prevent PY_CHECK_SQLITE_FUNC from accumulating linker…
f6c2453
… options
erlend-aasland
Successfully merging a pull request may close this issue.
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 staticlibsqlite3.a
file.Erlend is going to look into the problem.
The text was updated successfully, but these errors were encountered: