We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9b5a46 commit f4ffec2Copy full SHA for f4ffec2
1 file changed
ext/sqlite3/extconf.rb
@@ -64,6 +64,12 @@ def asplode missing
64
asplode('sqlite3.h') unless find_header 'sqlite3.h'
65
find_library 'pthread', 'pthread_create' # 1.8 support. *shrug*
66
67
+have_library 'dl'
68
+
69
+%w{ dlopen dlclose dlsym }.each do |func|
70
+ abort "missing function #{func}" unless have_func(func)
71
+end
72
73
if with_config('sqlcipher')
74
asplode('sqlcipher') unless find_library 'sqlcipher', 'sqlite3_libversion_number'
75
else
0 commit comments