summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2017-04-04 10:29:46 +0900
committermetalefty <meta@vmeta.jp>2017-04-06 09:29:16 +0900
commit10fe6994661abf17fc5e77f1a13738bf9900ce67 (patch)
tree61f28118e397f00dfcf5888cf320628752eb7552 /sesman/chansrv
parent06ce0d7ee3121a53302ef102e14ffb71ab798c3c (diff)
downloadxrdp-proprietary-10fe6994661abf17fc5e77f1a13738bf9900ce67.tar.gz
xrdp-proprietary-10fe6994661abf17fc5e77f1a13738bf9900ce67.zip
pulse: define default socket directory in Makefile
Diffstat (limited to 'sesman/chansrv')
-rw-r--r--sesman/chansrv/pulse/Makefile5
1 files changed, 4 insertions, 1 deletions
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