1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/source4/lib/talloc
Jelmer Vernooij 93fd08168f r11377: Add support for building LIBRARY elements as shared libraries:
- Adds -rpath bin/ so you don't have to install Samba in order to use compiled binaries.
 - Writes out pkg-config files when building shared libs
 - Supports automatic fallback to MERGEDOBJ (which is the default) or
   OBJ_LIST (if ld -r is not supported)

Building with shared libs reduces the size of the Samba binaries from
197 Mb to 60 Mb (including libraries) on my system (GCC4, with debugging).

To build with shared libraries support enabled, run:

LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY ./config.status

init functions don't get called correctly yet when using shared libs, so
you won't be able to actually run anything with success :-)

Once init functions are done, I'll look at support for loading shared
modules once again.

Based on a patch by Peter Novodvorsky (nidd on IRC).
(This used to be commit 0b54405685)
2007-10-10 13:45:28 -05:00
..
web r6474: - added a simple talloc web page at http://talloc.samba.org/ 2007-10-10 13:11:40 -05:00
autogen.sh r6804: Add config.h for talloc (and use it) 2007-10-10 13:16:45 -05:00
config.m4 r10525: change from AC_CHECK_TYPES() to AC_CHECK_TYPE() for intptr_t, so the 2007-10-10 13:39:01 -05:00
config.mk r11377: Add support for building LIBRARY elements as shared libraries: 2007-10-10 13:45:28 -05:00
configure.in r6830: put header checks in config.m4 so when it is included by other projects the right 2007-10-10 13:16:48 -05:00
install-sh r6661: fix up talloc autoconf to have a chance of working on the build farm 2007-10-10 13:16:32 -05:00
Makefile.in r6828: More portability fixes 2007-10-10 13:16:48 -05:00
talloc_guide.txt r8126: - moved to 16 byte alignment for talloc. This is in response to a bug 2007-10-10 13:19:12 -05:00
talloc.3 r8443: added talloc.3 to the tree to try to allow talloc to build on systems without xsltproc 2007-10-10 13:23:03 -05:00
talloc.3.xml r6622: Add talloc manpage in DocBook XML, based on SGML version by Garry Williams 2007-10-10 13:16:32 -05:00
talloc.c r10726: fix to talloc_parent() from Michael O'Brien 2007-10-10 13:39:25 -05:00
talloc.h r7936: new ldb_dn_explode and ldb_dn_casefold functions and co 2007-10-10 13:18:52 -05:00
talloc.pc.in r6478: Add 'make install' and a pkg-config file 2007-10-10 13:16:18 -05:00
testsuite.c r8032: added loop detection into talloc. Robert Collins found a way to make a 2007-10-10 13:19:00 -05:00