diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index a90cb892de..145e3e8776 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -126,7 +126,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: