From 10fe6994661abf17fc5e77f1a13738bf9900ce67 Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Tue, 4 Apr 2017 10:29:46 +0900 Subject: [PATCH] pulse: define default socket directory in Makefile --- sesman/chansrv/pulse/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sesman/chansrv/pulse/Makefile b/sesman/chansrv/pulse/Makefile index da1a89a1..f216f7aa 100644 --- a/sesman/chansrv/pulse/Makefile +++ b/sesman/chansrv/pulse/Makefile @@ -2,8 +2,11 @@ # build xrdp pulseaudio modules # +# change this to your pulseaudio source directory PULSE_DIR = /home/lk/pulseaudio-1.1 -CFLAGS = -Wall -O2 -I$(PULSE_DIR) -I$(PULSE_DIR)/src -DHAVE_CONFIG_H -fPIC +# change this if you're using non-default socket directory +SOCK_DIR = /tmp/.xrdp +CFLAGS = -Wall -O2 -I$(PULSE_DIR) -I$(PULSE_DIR)/src -DHAVE_CONFIG_H -fPIC -DXRDP_SOCKET_PATH=\"$(SOCK_DIR)\" all: module-xrdp-sink.so module-xrdp-source.so