1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

build: correct package dependencies

The wscript_build files convey what header files belong to which
logical package. For example,

    # lib/util/wscript_build:
    bld.SAMBA_LIBRARY('samba-util',
                      public_headers='... data_blob.h ...'

    # auth/credentials/wscript_build:
    bld.SAMBA_LIBRARY('samba-credentials',
                      public_headers='credentials.h',

Now, credentials.h #includes <util/data_blob.h> and therefore,
samba-credentials.pc must have a Requires: samba-util.

Similarly for other parts.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Jan Engelhardt 2013-09-05 20:57:12 +02:00 committed by Andreas Schneider
parent 76b351e907
commit e5f2dfacae
4 changed files with 4 additions and 3 deletions

View File

@ -6,6 +6,7 @@ modulesdir=${prefix}/modules/gensec
Name: samba-credentials
Description: Credentials management
Requires: samba-util ndr
Version: @PACKAGE_VERSION@
Libs: @LIB_RPATH@ -L${libdir} -lsamba-credentials
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1

View File

@ -5,7 +5,7 @@ includedir=@includedir@
Name: ndr-krb5pac
Description: NDR marshallers for the KRB5 PAC formats
Requires: ndr
Requires: ndr ndr_standard
Version: @PACKAGE_VERSION@
Libs: @LIB_RPATH@ -L${libdir} -lndr-krb5pac
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1

View File

@ -5,7 +5,7 @@ includedir=@includedir@
Name: dcerpc
Description: DCE/RPC client library
Requires: ndr
Requires: ndr samba-util
Version: @PACKAGE_VERSION@
Libs: @LIB_RPATH@ -L${libdir} -ldcerpc -ldcerpc-binding
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1

View File

@ -5,7 +5,7 @@ includedir=@includedir@
Name: dcerpc_samr
Description: DCE/RPC client library - SAMR
Requires.private: dcerpc ndr
Requires: dcerpc ndr ndr_standard
Version: @PACKAGE_VERSION@
Libs: @LIB_RPATH@ -L${libdir} -ldcerpc-samr
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1