diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-11-29 03:05:36 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-11-29 23:48:04 +0100 |
commit | 05cb5ad87c355126b1440c2c603f7de43e41a0a4 (patch) | |
tree | f40c85b5209fa71c55bb1dd51a0ad94926abc02e /source4/dsdb | |
parent | 54a5c398aaa1d53b5892c9b0aa5539ae7da651da (diff) | |
download | samba-05cb5ad87c355126b1440c2c603f7de43e41a0a4.tar.gz samba-05cb5ad87c355126b1440c2c603f7de43e41a0a4.tar.bz2 samba-05cb5ad87c355126b1440c2c603f7de43e41a0a4.zip |
samdb: Build as public library.
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb.pc.in | 10 | ||||
-rw-r--r-- | source4/dsdb/wscript_build | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/source4/dsdb/samdb.pc.in b/source4/dsdb/samdb.pc.in new file mode 100644 index 0000000000..1a0b6d9904 --- /dev/null +++ b/source4/dsdb/samdb.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: samdb +Description: Sam Database +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lsamdb +Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 diff --git a/source4/dsdb/wscript_build b/source4/dsdb/wscript_build index 3a09fc4b35..59ef1b9062 100644 --- a/source4/dsdb/wscript_build +++ b/source4/dsdb/wscript_build @@ -4,9 +4,10 @@ bld.RECURSE('samdb/ldb_modules') bld.SAMBA_LIBRARY('samdb', source='samdb/samdb.c samdb/samdb_privilege.c samdb/cracknames.c repl/replicated_objects.c', + pc_files='samdb.pc', autoproto='samdb/samdb_proto.h', - private_library=True, public_deps='krb5', + vnum='0.0.1', deps='ndr NDR_DRSUAPI NDR_DRSBLOBS auth_system_session LIBCLI_AUTH ndr SAMDB_SCHEMA ldbsamba samdb-common LIBCLI_DRSUAPI LIBCLI_LDAP_NDR samba-util com_err authkrb5 credentials ldbwrap', ) |