diff options
author | Noah Misch | 2014-08-19 03:00:38 +0000 |
---|---|---|
committer | Noah Misch | 2014-08-19 03:00:38 +0000 |
commit | 8605bc75219fd9a46fbb38909f83bcdae56b6e01 (patch) | |
tree | 804ecf6fff27078e7f5f4827c84e6fe5aa5dccfd | |
parent | ee9569e4df1c3bdb6858f4f65d0770783c32a84d (diff) |
Install libpq DLL with $(INSTALL_SHLIB).
Programs need execute permission on a DLL file to load it. MSYS
"install" ignores the mode argument, and our Cygwin build statically
links libpq into programs. That explains the lack of buildfarm trouble.
Back-patch to 9.0 (all supported versions).
-rw-r--r-- | src/interfaces/libpq/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index a90cb892dec..145e3e8776d 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -126,7 +126,7 @@ install: all installdirs install-lib $(INSTALL_DATA) $(srcdir)/pqexpbuffer.h '$(DESTDIR)$(includedir_internal)' $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample' ifneq (,$(findstring $(PORTNAME), win32 cygwin)) - $(INSTALL_DATA) $(shlib) '$(DESTDIR)$(bindir)/$(shlib)' + $(INSTALL_SHLIB) $(shlib) '$(DESTDIR)$(bindir)/$(shlib)' endif installcheck: |