diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:28:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:28:21 +0000 |
commit | e9e9beec90b65fa7ee5789a3d1d0a1d5bed49366 (patch) | |
tree | b872f441f9205ec27df3fc6d8790f3c1e441d869 /debian/patches/10-520466-libsqlite3-depends-on-libdl.patch | |
parent | Adding upstream version 3.40.1. (diff) | |
download | sqlite3-e9e9beec90b65fa7ee5789a3d1d0a1d5bed49366.tar.xz sqlite3-e9e9beec90b65fa7ee5789a3d1d0a1d5bed49366.zip |
Adding debian version 3.40.1-2.debian/3.40.1-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/10-520466-libsqlite3-depends-on-libdl.patch')
-rw-r--r-- | debian/patches/10-520466-libsqlite3-depends-on-libdl.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/debian/patches/10-520466-libsqlite3-depends-on-libdl.patch b/debian/patches/10-520466-libsqlite3-depends-on-libdl.patch new file mode 100644 index 0000000..150b8bd --- /dev/null +++ b/debian/patches/10-520466-libsqlite3-depends-on-libdl.patch @@ -0,0 +1,43 @@ +Index: sqlite3-3.7.17/configure.ac +=================================================================== +--- sqlite3-3.7.17.orig/configure.ac 2013-05-20 12:56:30.000000000 +0200 ++++ sqlite3-3.7.17/configure.ac 2013-05-21 22:20:46.000000000 +0200 +@@ -233,6 +233,38 @@ + AC_SUBST(BUILD_CC) + + ########## ++# Do we want to support load_extension()? ++# ++AC_ARG_ENABLE(load-extension, ++AC_HELP_STRING([--enable-load-extension], ++ [Include SQL functions for loading extension libraries]),, ++ enable_load_extension=auto) ++ ++if test "x$enable_load_extension" = xyes || ++ test "x$enable_load_extension" = xauto; then ++ ++ can_load_extension=yes ++ # libtool will already have looked for <dlfcn.h> ++ if test $ac_cv_header_dlfcn_h = no; then ++ can_load_extension=no ++ else ++ AC_SEARCH_LIBS(dlopen, dl, , [can_load_extension=no]) ++ fi ++elif test "x$enable_load_extension" = xno; then ++ can_load_extension=no ++else ++ AC_MSG_ERROR([invalid argument to --enable-load-extension]) ++fi ++ ++if test $can_load_extension = no; then ++ if test "x$enable_load_extension" = xyes; then ++ AC_MSG_ERROR([<dlfcn.h> routines missing, load_extension() not supported]) ++ fi ++ AC_DEFINE(SQLITE_OMIT_LOAD_EXTENSION, 1, ++ [Define if the load_extension() sql function should be omitted.]) ++fi ++ ++########## + # Do we want to support multithreaded use of sqlite + # + AC_ARG_ENABLE(threadsafe, |