mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
ITS#8996 - Generate and install a pkg-config file for the libldap library
This commit is contained in:
parent
3eea13bdd4
commit
baee6c47e7
@ -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]
|
||||
|
@ -21,7 +21,7 @@ SUBDIRS= \
|
||||
librewrite
|
||||
|
||||
PKGCONFIG_DIR=$(DESTDIR)$(libdir)/pkgconfig
|
||||
PKGCONFIG_SRCDIRS=liblber
|
||||
PKGCONFIG_SRCDIRS=liblber libldap
|
||||
|
||||
install-local:
|
||||
@$(MKDIR) $(PKGCONFIG_DIR)
|
||||
|
13
libraries/libldap/ldap.pc.in
Normal file
13
libraries/libldap/ldap.pc.in
Normal 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@
|
Loading…
Reference in New Issue
Block a user