summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/socket_wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index 01a498f..0626964 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -434,6 +434,8 @@ static void *swrap_load_lib_handle(enum swrap_lib lib)
#ifdef LIBC_SO
if (handle == NULL) {
handle = dlopen(LIBC_SO, flags);
+
+ swrap.libc_handle = handle;
}
#endif
if (handle == NULL) {