samba36: add even more size optimizations, binary size is now down to about 2.7M uncompressed

git-svn-id: svn://svn.openwrt.org/openwrt/packages@30509 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2012-02-13 20:26:29 +00:00
parent c886beea6e
commit fbf4719065
6 changed files with 373 additions and 6 deletions

View File

@ -28,3 +28,16 @@
libnetapi_set_error_string(ctx,
"Configuration manipulation requested but not "
"supported by backend");
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1210,8 +1210,10 @@ extern void build_options(bool screen);
exit(1);
}
+#ifdef REGISTRY_BACKEND
if (!W_ERROR_IS_OK(registry_init_full()))
exit(1);
+#endif
#ifdef PRINTER_SUPPORT
if (!print_backend_init(smbd_messaging_context()))