diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-03-18 15:16:29 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-03-18 15:16:29 -0300 |
commit | f9dead5624c63b009fc04229c1e5f660436b747b (patch) | |
tree | 01d7bfd3d95e3d623e34cd2d8bd581ac1e726c7e /src/backend/utils/adt/arrayfuncs.c | |
parent | b8d226b4f9691c7afb986dbaaf3f6ff7b203d1b5 (diff) | |
download | postgresql-f9dead5624c63b009fc04229c1e5f660436b747b.tar.gz postgresql-f9dead5624c63b009fc04229c1e5f660436b747b.zip |
Install shared libraries to bin/ in Windows under MSVC
Since commit cb4a3b04 we were already doing this for the Cygwin/mingw
toolchains, but MSVC had not been updated to do it. At Install.pm time,
the Makefile (or GNUmakefile) is inspected, and if a line matching
SO_MAJOR_VERSION is found (indicating a shared library is being built),
then files with the .dll extension are set to be installed in bin/
rather than lib/, while files with .lib extension are installed in lib/.
This makes the MSVC toolchain up to date with cygwin/mingw.
This removes ad-hoc hacks that were copying files into bin/ or lib/
manually (libpq.dll in particular was already being copied into bin).
So while this is a rather ugly kludge, it's still cleaner than what was
there before.
Author: Michael Paquier
Reviewed by: Asif Naeem
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions