diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-01-17 13:43:47 +0000 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-01-22 13:15:10 -0500 |
commit | 514d2c243e01b114de304ea72226bbf8772b1b11 (patch) | |
tree | bd138b9639f2468f8f38455bc8587c16c3e2e7d8 /os | |
parent | f72587ecc7e1dedfb20a999a0e600b83c06a1b29 (diff) |
meson: Use and prefer tirpc for Secure RPC authentication
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'os')
-rw-r--r-- | os/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/meson.build b/os/meson.build index 54124d32a..ff3a4615b 100644 --- a/os/meson.build +++ b/os/meson.build @@ -54,7 +54,11 @@ if get_option('xdmcp') srcs_os += 'xdmcp.c' endif +rpc_dep = [] if get_option('secure-rpc') + # prefer libtirpc (if available), otherwise assume RPC functions are + # provided by libc. + rpc_dep = dependency('libtirpc', required: false) srcs_os += 'rpcauth.c' endif @@ -73,6 +77,7 @@ libxserver_os = static_library('libxserver_os', common_dep, dl_dep, sha1_dep, + rpc_dep, dependency('xau') ], link_with: libxlibc, |