aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-05-27 20:56:38 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-30 21:15:22 +0200
commit6f22fb9ee4232473793c8c1f1fce5ab27269b715 (patch)
tree4e63ce60e31e6f8dab29a419c82f056e057eac4c
parentbdc698b7a6b7a0f46019785c288d1baf5fdc9e2e (diff)
downloadnx-libs-6f22fb9ee4232473793c8c1f1fce5ab27269b715.tar.gz
nx-libs-6f22fb9ee4232473793c8c1f1fce5ab27269b715.tar.bz2
nx-libs-6f22fb9ee4232473793c8c1f1fce5ab27269b715.zip
mi: define NXAGENT_SERVER
In commit f48e2da3e86b2d7600de3d5d4ef6f81ba2c17bed I marked NX changes by using #ifdef NXAGENT_SERVER. But I had missed that this define was never set in mi. So let's change that now and make it work like before. Fixes ArcticaProject/nx-libs#926
-rw-r--r--nx-X11/programs/Xserver/mi/Imakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/mi/Imakefile b/nx-X11/programs/Xserver/mi/Imakefile
index 46e5191ad..71245a407 100644
--- a/nx-X11/programs/Xserver/mi/Imakefile
+++ b/nx-X11/programs/Xserver/mi/Imakefile
@@ -123,6 +123,9 @@ OBJS = $(CBRT_OBJ) \
#if NXLibraries
+NX_DEFINES = -DNXAGENT_SERVER \
+ $(NULL)
+
/*
* To build the NX agent we need the XINPUT symbol
* in order to build the XInputExtension, since we
@@ -155,7 +158,7 @@ LINTLIBS = \
../os/llib-los.ln \
$(NULL)
-DEFINES = $(FFS_DEFINES)
+DEFINES = $(FFS_DEFINES) $(NX_DEFINES)
NormalLibraryObjectRule()
NormalLibraryTarget(mi,$(OBJS))