diff --git a/ext/sqlite3/extconf.rb b/ext/sqlite3/extconf.rb index 3d46c1c9..6318dbcc 100644 --- a/ext/sqlite3/extconf.rb +++ b/ext/sqlite3/extconf.rb @@ -64,11 +64,7 @@ def asplode missing asplode('sqlite3.h') unless find_header 'sqlite3.h' find_library 'pthread', 'pthread_create' # 1.8 support. *shrug* -have_library 'dl' - -%w{ dlopen dlclose dlsym }.each do |func| - abort "missing function #{func}" unless have_func(func) -end +have_library 'dl' # for static builds if with_config('sqlcipher') asplode('sqlcipher') unless find_library 'sqlcipher', 'sqlite3_libversion_number'