19 lines
672 B
Diff
19 lines
672 B
Diff
|
From: Fabian Vogt <fabian@ritter-vogt.de>
|
||
|
Subject: Find LMDB without pkg-config or CMake
|
||
|
|
||
|
Upstream LMDB provides neither.
|
||
|
|
||
|
Index: AppStream-0.12.7/meson.build
|
||
|
===================================================================
|
||
|
--- AppStream-0.12.7.orig/meson.build
|
||
|
+++ AppStream-0.12.7/meson.build
|
||
|
@@ -66,7 +66,7 @@ gio_dep = dependency('gio-2.0', version
|
||
|
gio_unix_dep = dependency('gio-unix-2.0', version : '>=2.54')
|
||
|
xml2_dep = dependency('libxml-2.0')
|
||
|
yaml_dep = dependency('yaml-0.1')
|
||
|
-lmdb_dep = dependency('lmdb')
|
||
|
+lmdb_dep = meson.get_compiler('c').find_library('lmdb')
|
||
|
|
||
|
if get_option ('gir')
|
||
|
# ensure we have a version of GIR that isn't broken with Meson
|