diff options
author | Jan Engelhardt <jengelh@inai.de> | 2013-09-05 20:57:12 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-04-18 18:54:13 +0200 |
commit | e5f2dfacae9312165291ce0cef62dee094a164d1 (patch) | |
tree | c489c5d42ce0f280587def5b847b8d972ccbac5d /source4/librpc | |
parent | 76b351e907f67cc7d4af4e7d800c7a3aa1269ee8 (diff) | |
download | samba-e5f2dfacae9312165291ce0cef62dee094a164d1.tar.gz |
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>
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/dcerpc.pc.in | 2 | ||||
-rw-r--r-- | source4/librpc/dcerpc_samr.pc.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/dcerpc.pc.in b/source4/librpc/dcerpc.pc.in index 223502803b7..53e83d9abdc 100644 --- a/source4/librpc/dcerpc.pc.in +++ b/source4/librpc/dcerpc.pc.in @@ -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 diff --git a/source4/librpc/dcerpc_samr.pc.in b/source4/librpc/dcerpc_samr.pc.in index 1c80aa99802..cd2d74a22ac 100644 --- a/source4/librpc/dcerpc_samr.pc.in +++ b/source4/librpc/dcerpc_samr.pc.in @@ -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 |