diff options
author | Mihai Moldovan <ionic@ionic.de> | 2018-03-09 09:08:35 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2018-03-15 12:20:05 +0100 |
commit | 25cc6fce5402549afdea25f9b4a7102d7ec04eaf (patch) | |
tree | cf9325a957ae0389acf2f1bd866268dbc43752ac /nx-X11/programs/Xserver/os | |
parent | 090d4d19b5211538fcde2066ce66e0ef21665562 (diff) | |
download | nx-libs-25cc6fce5402549afdea25f9b4a7102d7ec04eaf.tar.gz nx-libs-25cc6fce5402549afdea25f9b4a7102d7ec04eaf.tar.bz2 nx-libs-25cc6fce5402549afdea25f9b4a7102d7ec04eaf.zip |
nx-X11/programs/Xserver/{,os/}Imakefile: implement libtirpc forcing via UseTIRPC.
Diffstat (limited to 'nx-X11/programs/Xserver/os')
-rw-r--r-- | nx-X11/programs/Xserver/os/Imakefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/os/Imakefile b/nx-X11/programs/Xserver/os/Imakefile index 7932e32cd..da39c57ba 100644 --- a/nx-X11/programs/Xserver/os/Imakefile +++ b/nx-X11/programs/Xserver/os/Imakefile @@ -75,10 +75,17 @@ XDMAUTHOBJS = XDMAUTHSCRS = #endif +TIRPC_INCLUDES = + #if HasSecureRPC RPCDEFS = -DSECURE_RPC RPCOBJS = rpcauth.o RPCSRCS = rpcauth.c + +#if UseTIRPC +TIRPC_INCLUDES = $$(pkg-config --cflags-only-I 'libtirpc') +#endif + #else RPCDEFS = RPCOBJS = @@ -209,6 +216,7 @@ BOOTSTRAPCFLAGS = -I$(TOP)/lib/Xau \ $(NX_INCLUDES) \ `pkg-config --cflags-only-I pixman-1` \ + $(TIRPC_INCLUDES) \ $(NULL) DEPEND_DEFINES = $(XDMCP_DEFINES) \ |