Re: Identifying build options

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Identifying build options
Date: 2026-07-11 04:26:46
Message-ID: CA+FnnTwfti99-yJU_EpS-0qSjASm2B32YPFEMiCAvrXnnpMXug@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jul 10, 2026 at 11:22 PM Igor Korot <ikorot01(at)gmail(dot)com> wrote:
>
> Hi, ALL,
> 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?

Or using " -I`pg_config --includedir`" and " -L`pg_config
--libdir` -lpq" is sufficient?

>
> Thank you.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2026-07-11 20:12:03 Re: Identifying build options
Previous Message Igor Korot 2026-07-11 04:22:02 Identifying build options