1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-03 04:23:50 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Jelmer Vernooij
4322962074 r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
2007-10-10 13:47:19 -05:00
Jelmer Vernooij
0b54405685 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).
2007-10-10 13:45:28 -05:00
Jelmer Vernooij
990419bac7 r11311: Move some more logic to env 2007-10-10 13:45:18 -05:00
Jelmer Vernooij
9c211507c1 r11307: Add support for generating pkg-config files 2007-10-10 13:45:17 -05:00
Jelmer Vernooij
734da63a4e r11257: Add and use output function 2007-10-10 13:45:09 -05:00
Jelmer Vernooij
c53b32e093 r11252: Make makefile.pm OO and descend from env 2007-10-10 13:45:08 -05:00
Jelmer Vernooij
90c3f8b3be r11247: Add environment class 2007-10-10 13:45:07 -05:00