From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
Cc: | brajmohan saxena <braj(dot)saxena(at)gmail(dot)com>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, PostgreSQL mailing lists <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Re: psqlodbc without libpq |
Date: | 2016-09-26 23:52:33 |
Message-ID: | CAB7nPqQ-xRy7TqUUYWe4di_wPaPCYm-GO4jMVNa=wQ=wJ_pRoA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
On Tue, Sep 27, 2016 at 4:58 AM, Heikki Linnakangas <hlinnaka(at)iki(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | brajmohan saxena | 2016-09-28 11:49:39 | Re: psqlodbc without libpq |
Previous Message | Heikki Linnakangas | 2016-09-26 19:58:14 | Re: psqlodbc without libpq |