]> granicus.if.org Git - postgresql/commit
MinGW: Link with shell32.dll instead of shfolder.dll.
authorNoah Misch <noah@leadboat.com>
Wed, 22 Oct 2014 02:55:43 +0000 (22:55 -0400)
committerNoah Misch <noah@leadboat.com>
Wed, 22 Oct 2014 02:55:43 +0000 (22:55 -0400)
commit53566fc0940cf557416b13252df57350a4511ce4
tree892c3d89ffc78b99eb45ff78ad4f03d49569eb48
parent31dd7fcd03609dbc3c3be85e645ccc7c715db719
MinGW: Link with shell32.dll instead of shfolder.dll.

This improves consistency with the MSVC build.  On buildfarm member
narwhal, since commit 846e91e0223cf9f2821c3ad4dfffffbb929cb027,
shfolder.dll:SHGetFolderPath() crashes when dblink calls it by way of
pqGetHomeDirectory().  Back-patch to 9.4, where that commit first
appeared.  How it caused this regression remains a mystery.  This is a
partial revert of commit 889f03812916b146ae504c0fad5afdc7bf2e8a2a, which
adopted shfolder.dll for Windows NT 4.0 compatibility.  PostgreSQL 8.2
dropped support for that operating system.
src/Makefile.global.in
src/interfaces/ecpg/ecpglib/Makefile
src/interfaces/libpq/Makefile
src/interfaces/libpq/win32.mak
src/port/path.c