From: Noah Misch Date: Tue, 19 Aug 2014 03:00:38 +0000 (-0400) Subject: Install libpq DLL with $(INSTALL_SHLIB). X-Git-Tag: REL9_0_19~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6841c4d653e0ba5ec916ab5b2520ac5f8935e9e;p=thirdparty%2Fpostgresql.git 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). --- diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index 9e5db9d1601..98d9e8164f2 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -113,7 +113,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