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

Build also as a shared library and add install target #100

Merged
merged 4 commits into from
Jun 24, 2021

Conversation

jirutka
Copy link
Contributor

@jirutka jirutka commented Apr 6, 2021

BTW: I’ve packaged libpg_query and ruby-pg_query for Alpine Linux. It’s built with patches from this PR and few others to unbundle dependencies.

@jirutka jirutka changed the title Build also as a shared library Build also as a shared library and add install target Apr 7, 2021
Copy link
Member

@lfittl lfittl left a comment

Choose a reason for hiding this comment

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

@jirutka Thanks for the contribution!

Whilst I'm not sure if its a good idea to use libpg_query as a shared library, and it was written with a static library in mind, it doesn't hurt either I think.

My only requests here are to avoid building the shared library by default, and to include the minor version in the SONAME (since it's likely we'll break the ABI in a minor release sometimes).

Makefile Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@jirutka jirutka requested a review from lfittl May 8, 2021 15:53
@jirutka
Copy link
Contributor Author

jirutka commented Jun 5, 2021

I made the requested changes. Could you please take a second look?

@lfittl lfittl merged commit ac2118e into pganalyze:13-latest Jun 24, 2021
@jirutka jirutka deleted the shared-lib branch June 24, 2021 21:24
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.

2 participants