diff options
Diffstat (limited to 'src/lib/sqlite/meson.build')
-rw-r--r-- | src/lib/sqlite/meson.build | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/sqlite/meson.build b/src/lib/sqlite/meson.build index 6a5d07ef5..2db7fc8ae 100644 --- a/src/lib/sqlite/meson.build +++ b/src/lib/sqlite/meson.build @@ -1,5 +1,7 @@ if enable_database - sqlite_dep = dependency('sqlite3', version: '>= 3.7.3', required: get_option('sqlite')) + sqlite_dep = dependency('sqlite3', version: '>= 3.7.3', + fallback: ['sqlite3', 'sqlite3_dep'], + required: get_option('sqlite')) else sqlite_dep = dependency('', required: false) endif @@ -21,4 +23,7 @@ sqlite = static_library( sqlite_dep = declare_dependency( link_with: sqlite, + dependencies: [ + sqlite_dep, + ], ) |