Re: Identifying build options - Mailing list pgsql-general

From Laurenz Albe
Subject Re: Identifying build options
Date
Msg-id 537d0f50ebc62b672be15d45f4eda83b8d837aa7.camel@cybertec.at
Whole thread
In response to Identifying build options  (Igor Korot <ikorot01@gmail.com>)
Responses Re: Identifying build options
List pgsql-general
On Fri, 2026-07-10 at 23:22 -0500, Igor Korot wrote:
> Do I understand correctly that I can use "pg_config --cflags" and
> "pg_config --libs"
> as input to build my program that links with libpq?

No - that is for building the server (or server code like extensions).

Instructions for building client code are at
https://www.postgresql.org/docs/current/libpq-build.html

Yours,
Laurenz Albe



pgsql-general by date:

Previous
From: Igor Korot
Date:
Subject: Re: Identifying build options
Next
From: Tom Lane
Date:
Subject: Re: Identifying build options