diff options
-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', ) |