diff options
Diffstat (limited to 'dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch')
-rw-r--r-- | dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch b/dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch new file mode 100644 index 000000000000..0c5b48d1db9a --- /dev/null +++ b/dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch @@ -0,0 +1,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 |