diff options
author | Noah Misch <noah@leadboat.com> | 2014-08-18 23:00:38 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2014-08-18 23:01:04 -0400 |
commit | 318fe2321ed0207c8771dc0e24dfa84560dc6b51 (patch) | |
tree | 49af3afcaf16ef266c246c39c75bd240eb1656f0 | |
parent | 2730d7254c5f30c14509859e4353f3f7120151d9 (diff) | |
download | postgresql-318fe2321ed0207c8771dc0e24dfa84560dc6b51.tar.gz postgresql-318fe2321ed0207c8771dc0e24dfa84560dc6b51.zip |
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 a3030ca26a0..fdb30302aec 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -122,7 +122,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: |