summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorNoah Misch2014-08-19 03:00:38 +0000
committerNoah Misch2014-08-19 03:00:57 +0000
commit151ce45825b317a9e06c40ddb48917bde9dc94fa (patch)
tree22f3e1f595d12463113d81bb805597bc0cc0a961 /src/interfaces
parent48e0b5ff3795a827c558a9ca7863fbfdbff6d683 (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).
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/libpq/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
index 2b770d0a721..c794b9647c6 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: