Package: libldap2-dev Version: 2.4.28-1.2 Severity: wishlist Tags: upstream patch Usertags: debian-packaging
Hi there!
While working on packaging lualdap [1], I discovered that libldap2-dev
does not provide any pkg-config file [2]. Here is an example which
returns the values used by lualdap:
=====
# cat /usr/lib/x86_64-linux-gnu/pkgconfig/libldap.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
sharedlibdir=${libdir}
includedir=${prefix}/include
Name: libldap
Description: OpenLDAP library
Version: 2.4.28
Requires:
Libs: -L${libdir} -L${sharedlibdir} -lldap
Cflags: -I${includedir}
# pkg-config --cflags ldap
# pkg-config --libs ldap
-lldap
#
=====
Thx, bye,
Gismo / Luca
[1] <http://bugs.debian.org/670549>
[2] <http://pkg-config.freedesktop.org/>
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
pgp362Uev3pXy.pgp
Description: PGP signature

