From: Daiki Ueno Date: Wed, 1 Feb 2017 15:39:35 +0000 (+0100) Subject: build: Avoid undefined reference to rpc_exec_init X-Git-Tag: 0.23.4~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69293e9e894c9a3141f8d59e78a81b3fcf2beb28;p=p11-kit build: Avoid undefined reference to rpc_exec_init --- 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