ITS#8996 - Generate and install a pkg-config file for the libldap library

This commit is contained in:
Hugh McMaster 2019-09-29 11:38:17 +10:00 committed by Quanah Gibson-Mount
parent 3eea13bdd4
commit baee6c47e7
3 changed files with 15 additions and 1 deletions

View File

@ -3196,6 +3196,7 @@ AC_CONFIG_FILES([Makefile:build/top.mk:Makefile.in:build/dir.mk]
[libraries/liblber/Makefile:build/top.mk:libraries/liblber/Makefile.in:build/lib.mk:build/lib-shared.mk]
[libraries/liblber/lber.pc]
[libraries/libldap/Makefile:build/top.mk:libraries/libldap/Makefile.in:build/lib.mk:build/lib-shared.mk]
[libraries/libldap/ldap.pc]
[libraries/liblunicode/Makefile:build/top.mk:libraries/liblunicode/Makefile.in:build/lib.mk:build/lib-static.mk]
[libraries/liblutil/Makefile:build/top.mk:libraries/liblutil/Makefile.in:build/lib.mk:build/lib-static.mk]
[libraries/librewrite/Makefile:build/top.mk:libraries/librewrite/Makefile.in:build/lib.mk:build/lib-static.mk]

View File

@ -21,7 +21,7 @@ SUBDIRS= \
librewrite
PKGCONFIG_DIR=$(DESTDIR)$(libdir)/pkgconfig
PKGCONFIG_SRCDIRS=liblber
PKGCONFIG_SRCDIRS=liblber libldap
install-local:
@$(MKDIR) $(PKGCONFIG_DIR)

View File

@ -0,0 +1,13 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
libdir=@libdir@
Name: ldap (@PACKAGE@)
Description: OpenLDAP Lightweight Directory Access Protocol library
URL: https://www.openldap.org
Version: @VERSION@
Requires: lber
Cflags: -I${includedir}
Libs: -L${libdir} -lldap
Libs.private: @LIBS@ @SASL_LIBS@ @TLS_LIBS@ @AUTH_LIBS@