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

configure: Use pg_config to locate the header location #3991

Merged
merged 1 commit into from
Aug 28, 2020

Conversation

cdecker
Copy link
Member

@cdecker cdecker commented Aug 27, 2020

We were using an ubuntu specific path to look for the headers for postgresql, which meant that on some other operating systems they would not get picked up. This uses the pg_config tool as detailed by the libpq docs to locate the header location in a portable way.

Fixes #3937

Changelog-Fixed: build: On some operating systems the postgresql library would not get picked up. `./configure` now uses `pg_config` to locate the headers.
@cdecker cdecker self-assigned this Aug 27, 2020
@cdecker cdecker added this to the v0.9.1 milestone Aug 27, 2020
Copy link
Collaborator

@niftynei niftynei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 02451b7

@rustyrussell rustyrussell merged commit 0a501b3 into ElementsProject:master Aug 28, 2020
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.

PostgreSQL requirements - Unable to find DB driver for postgres
3 participants