Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build with upstream LMDB #239

Closed
Vogtinator opened this issue Jun 19, 2019 · 2 comments
Closed

Can't build with upstream LMDB #239

Vogtinator opened this issue Jun 19, 2019 · 2 comments

Comments

@Vogtinator
Copy link
Contributor

LMDB does not ship either pkg-config nor CMake files by itself, so building fails.

See also the discussion in the commit adding LMDB as dependency: 358e939#commitcomment-33867125

@Vogtinator
Copy link
Contributor Author

Tried myself, seems to be as simple as this:

-lmdb_dep = dependency('lmdb')
+lmdb_dep = meson.get_compiler('c').find_library('lmdb')

Would need some refinement like using this only as a fallback though, but I'm not fluent in meson myself.

@ximion
Copy link
Owner

ximion commented Jun 19, 2019

Thanks for reporting this as a proper issue :-)
This should be fixed via 653bae3 now, give it a try!

@ximion ximion closed this as completed Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants