mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-15 13:41:59 +01:00
> If libpq has been compiled with LDAP support (option --with-ldap for > configure) it is possible to retrieve connection options like host or > dbname via LDAP from a central server. libldap is quite a big dependency and this LDAP feature in libpq is not used much, if at all. This does *not* remove LDAP support in the PostgreSQL *server*.
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
Allow to install headers needed by the headers of the interfaces separately
|
|
from the headers needed for server. We need this to allow building PostgreSQL
|
|
server with LDAP support, but libpq without dependency on LDAP.
|
|
|
|
--- a/src/include/Makefile
|
|
+++ b/src/include/Makefile
|
|
@@ -27,7 +27,8 @@
|
|
port/win32/sys portability
|
|
|
|
# Install all headers
|
|
-install: all installdirs
|
|
+install: install-interfaces install-server
|
|
+install-interfaces: all installdirs
|
|
# These headers are needed by the public headers of the interfaces.
|
|
$(INSTALL_DATA) $(srcdir)/postgres_ext.h '$(DESTDIR)$(includedir)'
|
|
$(INSTALL_DATA) $(srcdir)/libpq/libpq-fs.h '$(DESTDIR)$(includedir)/libpq'
|
|
@@ -40,6 +41,7 @@
|
|
$(INSTALL_DATA) $(srcdir)/port.h '$(DESTDIR)$(includedir_internal)'
|
|
$(INSTALL_DATA) $(srcdir)/postgres_fe.h '$(DESTDIR)$(includedir_internal)'
|
|
$(INSTALL_DATA) $(srcdir)/libpq/pqcomm.h '$(DESTDIR)$(includedir_internal)/libpq'
|
|
+install-server: all installdirs
|
|
# These headers are needed for server-side development
|
|
$(INSTALL_DATA) pg_config.h '$(DESTDIR)$(includedir_server)'
|
|
$(INSTALL_DATA) pg_config_ext.h '$(DESTDIR)$(includedir_server)'
|