pulse: define default socket directory in Makefile

This commit is contained in:
Koichiro IWAO 2017-04-04 10:29:46 +09:00 committed by metalefty
parent 06ce0d7ee3
commit 10fe699466

View File

@ -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