Content-Length: 256402 | pFad | http://github.com/postgrespro/postgres/commit/ba72fc05458445fdb8cf437212d872da26193941

B7 Install libpq DLL with $(INSTALL_SHLIB). · postgrespro/postgres@ba72fc0 · GitHub
Skip to content

Commit ba72fc0

Browse files
committed
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).
1 parent 5f1c597 commit ba72fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/libpq/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ install: all installdirs install-lib
121121
$(INSTALL_DATA) $(srcdir)/pqexpbuffer.h '$(DESTDIR)$(includedir_internal)'
122122
$(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample'
123123
ifneq (,$(findstring $(PORTNAME), win32 cygwin))
124-
$(INSTALL_DATA) $(shlib) '$(DESTDIR)$(bindir)/$(shlib)'
124+
$(INSTALL_SHLIB) $(shlib) '$(DESTDIR)$(bindir)/$(shlib)'
125125
endif
126126

127127
installdirs: installdirs-lib

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/ba72fc05458445fdb8cf437212d872da26193941

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy