Skip to content

Commit

Permalink
ext: sqlcipher dir_config params imply system libs and sqlcipher
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Aug 6, 2022
1 parent 8726155 commit 3d5ca82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ext/sqlite3/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ def libname
end

def sqlcipher?
with_config("sqlcipher")
with_config("sqlcipher") ||
with_config("sqlcipher-dir") ||
with_config("sqlcipher-include") ||
with_config("sqlcipher-lib")
end

def configure_system_libraries
Expand Down

0 comments on commit 3d5ca82

Please sign in to comment.