summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in10
-rw-r--r--source3/exports/netapi.syms3
2 files changed, 13 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 599b0501a1..63a83befa8 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1353,6 +1353,16 @@ bin/libaddns.a: $(BINARY_PREREQS) $(LIBADDNS_OBJ)
@echo Linking non-shared library $@
@-$(AR) -rc $@ $(LIBADDNS_OBJ)
+bin/netapi.@SHLIBEXT@: $(BINARY_PREREQS) $(NETAPI_OBJ)
+ @echo Linking shared library $@
+ @$(SHLD_DSO) $(NETAPI_OBJ) $(LIBS) \
+ $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) \
+ @SONAMEFLAG@`basename $@`.$(SONAME_VER)
+
+bin/netapi.a: $(BINARY_PREREQS) $(NETAPI_OBJ)
+ @echo Linking non-shared library $@
+ @-$(AR) -rc $@ $(NETAPI_OBJ)
+
bin/libsmbclient.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ)
@echo Linking shared library $@
@$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBS) \
diff --git a/source3/exports/netapi.syms b/source3/exports/netapi.syms
new file mode 100644
index 0000000000..eb34bfc012
--- /dev/null
+++ b/source3/exports/netapi.syms
@@ -0,0 +1,3 @@
+{
+ global: *;
+};