diff options
author | Daiki Ueno <dueno@redhat.com> | 2017-02-01 16:39:35 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-02-16 16:17:14 +0100 |
commit | 69293e9e894c9a3141f8d59e78a81b3fcf2beb28 (patch) | |
tree | 9a1c6aa933f802c086a88a23801de26b4d9d86b1 | |
parent | 7b5ad15a68ab7fc0a0cb051f641120c6301694a7 (diff) |
build: Avoid undefined reference to rpc_exec_init
-rw-r--r-- | p11-kit/rpc-transport.c | 5 |
1 files 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 |