From ade8d6123c27866525fc7f7d4327e10af0d2d01a Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Mon, 25 Mar 2024 22:47:17 +0100 Subject: os/Imakefile: only compile rpcauth if we have libtirpc glibc no longer has rpc included, so we can only compile when tirpc is available --- nx-X11/programs/Xserver/os/Imakefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/nx-X11/programs/Xserver/os/Imakefile b/nx-X11/programs/Xserver/os/Imakefile index 421f3a85a..69764a7d8 100644 --- a/nx-X11/programs/Xserver/os/Imakefile +++ b/nx-X11/programs/Xserver/os/Imakefile @@ -75,21 +75,18 @@ XDMAUTHOBJS = XDMAUTHSCRS = #endif -TIRPC_INCLUDES = - #if HasSecureRPC +#if UseTIRPC RPCDEFS = -DSECURE_RPC RPCOBJS = rpcauth.o RPCSRCS = rpcauth.c - -#if UseTIRPC TIRPC_INCLUDES = $$(pkg-config --cflags-only-I 'libtirpc') -#endif - #else RPCDEFS = RPCOBJS = RPCSRCS = +TIRPC_INCLUDES = +#endif #endif #if HasBSD44Sockets -- cgit v1.2.3