History log of /external/iproute2/ip/static-syms.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f2e27cfb016e2465cd3f07e0b556058060702578 06-Nov-2009 Mike Frysinger <vapier@gentoo.org> support static-only systems

The iptables code supports a "no shared libs" mode where it can be used
without requiring dlfcn related functionality. This adds similar support
to iproute2 so that it can easily be used on systems like nommu Linux (but
obviously with a few limitations -- no dynamic plugins).

Rather than modify every location that uses dlfcn.h, I hooked the dlfcn.h
header with stub functions when shared library support is disabled. Then
symbol lookup is done via a local static lookup table (which is generated
automatically at build time) so that internal symbols can be found.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/iproute2/ip/static-syms.c