From 69293e9e894c9a3141f8d59e78a81b3fcf2beb28 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 1 Feb 2017 16:39:35 +0100 Subject: build: Avoid undefined reference to rpc_exec_init --- p11-kit/rpc-transport.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/p11-kit/rpc-transport.c b/p11-kit/rpc-transport.c index 13d1372..c15564e 100644 --- a/p11-kit/rpc-transport.c +++ b/p11-kit/rpc-transport.c @@ -835,8 +835,8 @@ p11_rpc_transport_new (p11_virtual *virt, #ifdef OS_WIN32 p11_message ("Windows not yet supported for remote"); - return NULL; -#endif + return rpc; +#else /* This is a command we can execute */ if (remote[0] == '|') { @@ -851,6 +851,7 @@ p11_rpc_transport_new (p11_virtual *virt, return_val_if_reached (NULL); return rpc; +#endif } void -- cgit v1.1