diff options
author | Greg Hudson <ghudson@mit.edu> | 2012-07-08 18:04:56 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2012-09-04 01:31:46 -0400 |
commit | c91cda209a1e2467bbb5fbb5a3116757d38ef374 (patch) | |
tree | 96f17a8541bc5e637f4fc0cb90d354bcf2fb3fda /src/lib/apputils/net-server.c | |
parent | 6b60871d961eff2fa4c476867ae9d8cbcffb8953 (diff) | |
download | krb5-c91cda209a1e2467bbb5fbb5a3116757d38ef374.tar.gz krb5-c91cda209a1e2467bbb5fbb5a3116757d38ef374.tar.xz krb5-c91cda209a1e2467bbb5fbb5a3116757d38ef374.zip |
Avoid libdl dependencies in bundled libverto
The upstream libverto depends on dynamic loading and in particular on
dladdr(), which is not universal. To avoid this dependency, stub out
support for module loading (by replacing module.c) and instead
integrate the k5ev module directly into the bundled verto library.
This change removes the need to link, include, and invoke libverto
differently depending on whether we're using the bundled library; we
can always just link with -lverto and call verto_default().
bigredbutton: whitespace
ticket: 7351 (new)
Diffstat (limited to 'src/lib/apputils/net-server.c')
-rw-r--r-- | src/lib/apputils/net-server.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/apputils/net-server.c b/src/lib/apputils/net-server.c index 0fd08ecee..1f8a8f97a 100644 --- a/src/lib/apputils/net-server.c +++ b/src/lib/apputils/net-server.c @@ -58,10 +58,6 @@ #include "fake-addrinfo.h" #include "net-server.h" -#ifdef INTERNAL_VERTO -#include "verto-k5ev.h" -#endif - #include <signal.h> /* XXX */ @@ -269,12 +265,7 @@ loop_init(verto_ev_type types) types |= VERTO_EV_TYPE_IO; types |= VERTO_EV_TYPE_SIGNAL; types |= VERTO_EV_TYPE_TIMEOUT; - -#ifdef INTERNAL_VERTO - return verto_default_k5ev(); -#else return verto_default(NULL, types); -#endif } static void |