Skip to content

Commit 6c9c283

Browse files
committed
Install properly fe-auth-sasl.h
The internals of the frontend-side callbacks for SASL are visible in libpq-int.h, but the header was not getting installed. This would cause compilation failures for applications playing with the internals of libpq. Issue introduced in 9fd8557. Author: Mikhail Kulagin Reviewed-by: Jacob Champion Discussion: https://postgr.es/m/05ce01d777cb$40f31d60$c2d95820$@postgrespro.ru
1 parent 83f4fcc commit 6c9c283

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/interfaces/libpq/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ install: all installdirs install-lib
131131
$(INSTALL_DATA) $(srcdir)/libpq-fe.h '$(DESTDIR)$(includedir)'
132132
$(INSTALL_DATA) $(srcdir)/libpq-events.h '$(DESTDIR)$(includedir)'
133133
$(INSTALL_DATA) $(srcdir)/libpq-int.h '$(DESTDIR)$(includedir_internal)'
134+
$(INSTALL_DATA) $(srcdir)/fe-auth-sasl.h '$(DESTDIR)$(includedir_internal)'
134135
$(INSTALL_DATA) $(srcdir)/pqexpbuffer.h '$(DESTDIR)$(includedir_internal)'
135136
$(INSTALL_DATA) $(srcdir)/pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample'
136137

@@ -144,6 +145,7 @@ uninstall: uninstall-lib
144145
rm -f '$(DESTDIR)$(includedir)/libpq-fe.h'
145146
rm -f '$(DESTDIR)$(includedir)/libpq-events.h'
146147
rm -f '$(DESTDIR)$(includedir_internal)/libpq-int.h'
148+
rm -f '$(DESTDIR)$(includedir_internal)/fe-auth-sasl.h'
147149
rm -f '$(DESTDIR)$(includedir_internal)/pqexpbuffer.h'
148150
rm -f '$(DESTDIR)$(datadir)/pg_service.conf.sample'
149151

src/tools/msvc/Install.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,8 @@ sub CopyIncludeFiles
633633
CopyFiles(
634634
'Libpq internal headers',
635635
$target . '/include/internal/',
636-
'src/interfaces/libpq/', 'libpq-int.h', 'pqexpbuffer.h');
636+
'src/interfaces/libpq/', 'libpq-int.h', 'fe-auth-sasl.h',
637+
'pqexpbuffer.h');
637638

638639
CopyFiles(
639640
'Internal headers',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy