From efd2967e060a3a7ca3de589a23511bb38151ed8b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 24 Feb 2021 12:45:26 +0100 Subject: swrap: introduce a socket_wrapper_noop.so and socket_wrapper.h to provide noop stubs Applications with the need to call socket_wrapper_enabled() should link against -lsocket_wrapper_noop in order to resolve the symbol at link time. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14640 Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- socket_wrapper_noop.pc.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 socket_wrapper_noop.pc.cmake (limited to 'socket_wrapper_noop.pc.cmake') diff --git a/socket_wrapper_noop.pc.cmake b/socket_wrapper_noop.pc.cmake new file mode 100644 index 0000000..5c8ac49 --- /dev/null +++ b/socket_wrapper_noop.pc.cmake @@ -0,0 +1,8 @@ +libdir=@CMAKE_INSTALL_FULL_LIBDIR@ +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ + +Name: @PROJECT_NAME@ +Description: The socket_wrapper_noop library +Version: @PROJECT_VERSION@ +Libs: -L${libdir} -lsocket_wrapper_noop +Cflags: -I${includedir} -- cgit