Make socket directory configurable, don't hardcode /tmp/.xrdp

Use XRDP_SOCKET_PATH in file_loc.h

Don't define any non-socket paths in file_loc.h, they should come from
the makefiles.

Define all paths unconditionally, they should not be defined elsewhere.

Pass XRDP_SOCKET_PATH as environment variable to the backends.
This commit is contained in:
Pavel Roskin
2017-03-14 21:45:50 -07:00
committed by jsorg71
parent fc2572f60b
commit 58c9cb43e9
17 changed files with 41 additions and 57 deletions
+4
View File
@@ -3,6 +3,10 @@ EXTRA_DIST = \
vrplayer.c \
vrplayer.mk
AM_CPPFLAGS = \
-DXRDP_SOCKET_PATH=\"${socketdir}\" \
-I$(top_srcdir)/common
module_LTLIBRARIES = \
libxrdpapi.la