Since 09.03.0400 need to link to secur32.lib on Windows? - Mailing list pgsql-odbc

From Ants Aasma
Subject Since 09.03.0400 need to link to secur32.lib on Windows?
Date
Msg-id CA+CSw_tUbV+6PJ+BWQ3FSniB8269cAjz1S6ZMM+xqNwJ=nFk4g@mail.gmail.com
Whole thread Raw
Responses Re: Since 09.03.0400 need to link to secur32.lib on Windows?
List pgsql-odbc
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.

Regards,
Ants Aasma
--
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de


pgsql-odbc by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: PostgreSQL ODBC drivers question
Next
From: Heikki Linnakangas
Date:
Subject: Re: Since 09.03.0400 need to link to secur32.lib on Windows?