summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-30 00:40:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:21 -0500
commit1f5a8f892ff09f2633610c0f520d96f892674933 (patch)
tree1dfd7b5e7b2b3c6e87af2e4c202c4410e1420c18 /source4/libcli
parentb729cc821123ff48b8c4d06d59ee0c0d00f070ba (diff)
downloadsamba-1f5a8f892ff09f2633610c0f520d96f892674933.tar.gz
samba-1f5a8f892ff09f2633610c0f520d96f892674933.tar.bz2
samba-1f5a8f892ff09f2633610c0f520d96f892674933.zip
r15344: Fix shared library build
(This used to be commit 7113a16309a83225f3ab6ccbfe48778ae8fc52e8)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/config.mk7
-rw-r--r--source4/libcli/nbt/nbtsocket.c2
2 files changed, 4 insertions, 5 deletions
diff --git a/source4/libcli/config.mk b/source4/libcli/config.mk
index 533266dca8..418794ec86 100644
--- a/source4/libcli/config.mk
+++ b/source4/libcli/config.mk
@@ -114,12 +114,12 @@ OBJ_FILES = clireadwrite.o \
clideltree.o
PUBLIC_DEPENDENCIES = LIBCLI_RAW LIBSAMBA-ERRORS LIBCLI_AUTH \
LIBCLI_SMB_COMPOSITE LIBCLI_NBT LIBSECURITY LIBCLI_RESOLVE \
- LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS
+ LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS SOCKET
[SUBSYSTEM::LIBCLI_RAW]
PRIVATE_PROTO_HEADER = raw/raw_proto.h
-PRIVATE_DEPENDENCIES = LIBCLI_COMPOSITE
-PUBLIC_DEPENDENCIES = LIBCLI_RAW_KRB5
+PRIVATE_DEPENDENCIES = LIBCLI_COMPOSITE
+PUBLIC_DEPENDENCIES = LIBCLI_RAW_KRB5 SOCKET LIBPACKET gensec LIBCRYPTO
LDFLAGS = $(SUBSYSTEM_LIBCLI_SMB_COMPOSITE_OUTPUT)
OBJ_FILES = raw/rawfile.o \
raw/smb_signing.o \
@@ -142,6 +142,5 @@ OBJ_FILES = raw/rawfile.o \
raw/rawacl.o \
raw/rawdate.o \
raw/rawlpq.o
-PUBLIC_DEPENDENCIES = LIBPACKET gensec LIBCRYPTO
include smb2/config.mk
diff --git a/source4/libcli/nbt/nbtsocket.c b/source4/libcli/nbt/nbtsocket.c
index eca5253113..1e808e698d 100644
--- a/source4/libcli/nbt/nbtsocket.c
+++ b/source4/libcli/nbt/nbtsocket.c
@@ -302,7 +302,7 @@ static void nbt_name_socket_handler(struct event_context *ev, struct fd_event *f
initialise a nbt_name_socket. The event_ctx is optional, if provided
then operations will use that event context
*/
-struct nbt_name_socket *nbt_name_socket_init(TALLOC_CTX *mem_ctx,
+_PUBLIC_ struct nbt_name_socket *nbt_name_socket_init(TALLOC_CTX *mem_ctx,
struct event_context *event_ctx)
{
struct nbt_name_socket *nbtsock;