Re: psqlodbc without libpq - Mailing list pgsql-odbc

From Michael Paquier
Subject Re: psqlodbc without libpq
Date
Msg-id CAB7nPqQ-xRy7TqUUYWe4di_wPaPCYm-GO4jMVNa=wQ=wJ_pRoA@mail.gmail.com
Whole thread Raw
In response to Re: psqlodbc without libpq  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: psqlodbc without libpq
List pgsql-odbc
On Tue, Sep 27, 2016 at 4:58 AM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> On 09/26/2016 10:11 PM, Adrian Klaver wrote:
>>
>> On 09/23/2016 12:02 AM, brajmohan saxena wrote:
>>>
>>> Is there any way I can build the psqlodbc drivers without libpq
>>> dependency on it.
>>
>>
>> The only way I know is to use a release before 09.05.0100.
>
>
> Note that you can link libpq statically, so that you only need to have libpq
> around when building, but not when using the driver.

If you for example compile with win64.mak and nmake, you can enforce
that using /MD or /MT in windows-local.mak, variable CUSTOMCLOPT:
https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx
--
Michael


pgsql-odbc by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: psqlodbc without libpq
Next
From: Adrian Klaver
Date:
Subject: Re: psqlodbc without libpq