Skip to content

Commit 6c1895f

Browse files
authored
Merge pull request #254 from larskanis/revert-dl
Don't mandate dl functions for the extention build
2 parents 5c36dbe + 9d9ed4b commit 6c1895f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

ext/sqlite3/extconf.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,7 @@ def asplode missing
6464
asplode('sqlite3.h') unless find_header 'sqlite3.h'
6565
find_library 'pthread', 'pthread_create' # 1.8 support. *shrug*
6666

67-
have_library 'dl'
68-
69-
%w{ dlopen dlclose dlsym }.each do |func|
70-
abort "missing function #{func}" unless have_func(func)
71-
end
67+
have_library 'dl' # for static builds
7268

7369
if with_config('sqlcipher')
7470
asplode('sqlcipher') unless find_library 'sqlcipher', 'sqlite3_libversion_number'

0 commit comments

Comments
 (0)