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>
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
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
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
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