sqlite-3.16.0-nonfull_tarball-build.patch 405 B

123456789101112131415
  1. Fix building with dlopen() not available.
  2. --- configure.ac
  3. +++ configure.ac
  4. @@ -102,6 +102,9 @@
  5. [], [enable_dynamic_extensions=yes])
  6. if test x"$enable_dynamic_extensions" != "xno"; then
  7. AC_SEARCH_LIBS(dlopen, dl)
  8. + if test "${ac_cv_search_dlopen}" = "no" ; then
  9. + DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
  10. + fi
  11. else
  12. DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
  13. fi