aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2014-08-18 23:00:38 -0400
committerNoah Misch <noah@leadboat.com>2014-08-18 23:01:13 -0400
commitba72fc05458445fdb8cf437212d872da26193941 (patch)
treef936526a122d35e5c91fc654752cf2b33b27f468 /src
parent5f1c5970765aad9b25ff50403065c54d3ebc37e6 (diff)
downloadpostgresql-ba72fc05458445fdb8cf437212d872da26193941.tar.gz
postgresql-ba72fc05458445fdb8cf437212d872da26193941.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).
Diffstat (limited to 'src')
-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 39cbca3e7c5..0964de495cf 100644
--- a/src/interfaces/libpq/Makefile
+++ b/src/interfaces/libpq/Makefile
@@ -121,7 +121,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
installdirs: installdirs-lib