Re: Since 09.03.0400 need to link to secur32.lib on Windows?

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Ants Aasma <ants(at)cybertec(dot)at>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Since 09.03.0400 need to link to secur32.lib on Windows?
Date: 2015-02-10 22:44:30
Message-ID: 54DA89CE.9000909@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 02/11/2015 12:39 AM, Ants Aasma wrote:
> Hi,
>
> I'm getting linker errors for GetUserNameExA when building on Win7SP1
> with SDK7.1. Quick googling shows that this function comes from
> secur32.lib. Indeed, adding it to CUSTOMLINKLIBS makes it build,
> although I haven't tested if it still works yet. I'm not too
> comfortable in Windows build systems to come up with a patch.
>
> References were introduced by these two commits:
> e85fbb2 refs/heads/master Use libpq for everything.
> c4149c9 refs/tags/REL-09_03_0400 Additonal improvement on MSDTC enlistment.

Hmm, this sounds familiar. Did commit b6329d97 not fix that?

- Heikki

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Ants Aasma 2015-02-10 22:53:32 Re: Since 09.03.0400 need to link to secur32.lib on Windows?
Previous Message Ants Aasma 2015-02-10 22:39:01 Since 09.03.0400 need to link to secur32.lib on Windows?