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:13 -0400 |
commit | ba72fc05458445fdb8cf437212d872da26193941 (patch) | |
tree | f936526a122d35e5c91fc654752cf2b33b27f468 /src | |
parent | 5f1c5970765aad9b25ff50403065c54d3ebc37e6 (diff) | |
download | postgresql-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/Makefile | 2 |
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 |