diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2014-05-08 13:37:02 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2014-05-08 16:00:10 +0200 |
commit | 0fa56909442c3cfea6a697681ea0e89ba5a0aa0f (patch) | |
tree | 39b3dd3777af3db8de637e0fbb6d2de86eb4e984 /config.h.cmake | |
parent | 3d70059d5465e8ae0a3149265ea7c04a78e480d2 (diff) | |
download | socket_wrapper-0fa56909442c3cfea6a697681ea0e89ba5a0aa0f.tar.gz socket_wrapper-0fa56909442c3cfea6a697681ea0e89ba5a0aa0f.tar.xz socket_wrapper-0fa56909442c3cfea6a697681ea0e89ba5a0aa0f.zip |
swrap: use LIBC_SO from GNU libc, if available
Look for gnu/lib-names.h and use the LIBC_SO define to dlopen libc, so
the right library is loaded without manually searching for libc.so.N.
Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index abbf133..efa519b 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -18,6 +18,7 @@ #cmakedefine HAVE_SYS_SIGNALFD_H 1 #cmakedefine HAVE_SYS_EVENTFD_H 1 #cmakedefine HAVE_SYS_TIMERFD_H 1 +#cmakedefine HAVE_GNU_LIB_NAMES_H 1 /************************ STRUCT MEMBERS *************************/ |