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

Use upstream name for pkg-config #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ignatenkobrain
Copy link

And simplify code a bit.

And simplify code a bit.
stuhood pushed a commit to pantsbuild/lmdb-rs that referenced this pull request Jan 25, 2022
…-document-publication

prioritize testing lmdb-rkv with in-tree lmdb-rkv-sys; document publication
bors bot added a commit to meilisearch/lmdb-rs that referenced this pull request Sep 15, 2022
10: Fix lmdb pkgconf name: liblmdb -> lmdb r=Kerollmops a=jirutka

Fixes #9

build.rs currently never finds the system-provided lmdb library. pkgconf (or pkg-config) expects the name of the .pc file, not the name of the library file, and lmdb provides `lmdb.pc`, not `liblmdb.pc` (checked in Alpine Linux, Debian, Fedora).

This has been already proposed in the original project: danburkert#53.
I’ve opened this pull request also in Mozilla’s fork: mozilla#95.

Shouldn’t lmdb-sys also declare `links` in Cargo.toml?

Co-authored-by: Jakub Jirutka <jakub@jirutka.cz>
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

Successfully merging this pull request may close these issues.

1 participant