mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
lib/ldb: Adapt pkg-config files to being build from the main build.
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
de1ab855ee
commit
1edd8c066c
@ -6,7 +6,7 @@ modulesdir=@LDB_MODULESDIR@
|
||||
|
||||
Name: ldb
|
||||
Description: An LDAP-like embedded database
|
||||
Version: @PACKAGE_VERSION@
|
||||
Version: @LDB_PACKAGE_VERSION@
|
||||
Requires.private: tdb
|
||||
Requires: talloc
|
||||
Libs: @LIB_RPATH@ -L${libdir} -lldb
|
||||
|
@ -6,7 +6,7 @@ modulesdir=@LDB_MODULESDIR@
|
||||
|
||||
Name: pyldb-util@PYTHON_SO_ABI_FLAG@
|
||||
Description: Python bindings for LDB
|
||||
Version: @PACKAGE_VERSION@
|
||||
Version: @LDB_PACKAGE_VERSION@
|
||||
Requires: ldb
|
||||
Libs: @LIB_RPATH@ -L${libdir} -lpyldb-util@PYTHON_LIBNAME_SO_ABI_FLAG@
|
||||
Cflags: -I${includedir}
|
||||
|
@ -165,10 +165,8 @@ def build(bld):
|
||||
bld.RECURSE('lib/replace')
|
||||
bld.RECURSE('lib/tdb')
|
||||
|
||||
if bld.env.standalone_ldb:
|
||||
if not 'PACKAGE_VERSION' in bld.env:
|
||||
bld.env.PACKAGE_VERSION = VERSION
|
||||
bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
|
||||
if not 'LDB_PACKAGE_VERSION' in bld.env:
|
||||
bld.env.LDB_PACKAGE_VERSION = VERSION
|
||||
|
||||
private_library = not bld.env.ldb_is_public_library
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user