aboutsummaryrefslogtreecommitdiff
blob: 0c5b48d1db9a55f8d537c364c1866c390e59554a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- configure.ac
+++ configure.ac
@@ -611,6 +611,9 @@
 if test "${use_loadextension}" = "yes" ; then
   OPT_FEATURE_FLAGS=""
   AC_SEARCH_LIBS(dlopen, dl)
+  if test "${ac_cv_search_dlopen}" = "no" ; then
+    OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
+  fi
 else
   OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
 fi