summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-10-17 11:09:50 -0700
committerPavel Roskin <plroskin@gmail.com>2016-10-20 10:43:02 -0700
commita370306f75e72a38f37a0cc7ee1fae595d3c80bc (patch)
treeed0a9eb35e6a1ac50add0b0589111637538b20e8 /sesman/chansrv
parent5c69f3cd57ac9052d4d69e13c751463775f58b6d (diff)
downloadxrdp-proprietary-a370306f75e72a38f37a0cc7ee1fae595d3c80bc.tar.gz
xrdp-proprietary-a370306f75e72a38f37a0cc7ee1fae595d3c80bc.zip
Get rid of EXTRA_LIBS, use variables with more specific names
Diffstat (limited to 'sesman/chansrv')
-rw-r--r--sesman/chansrv/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/sesman/chansrv/Makefile.am b/sesman/chansrv/Makefile.am
index febb539a..2ecd67b4 100644
--- a/sesman/chansrv/Makefile.am
+++ b/sesman/chansrv/Makefile.am
@@ -1,5 +1,3 @@
-EXTRA_LIBS =
-
AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
-DXRDP_SBIN_PATH=\"${sbindir}\" \
@@ -7,19 +5,21 @@ AM_CPPFLAGS = \
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
-I$(top_srcdir)/common
+CHANSRV_EXTRA_LIBS =
+
if XRDP_FUSE
AM_CPPFLAGS += -DXRDP_FUSE
-EXTRA_LIBS += -lfuse
+CHANSRV_EXTRA_LIBS += -lfuse
endif
if XRDP_OPUS
AM_CPPFLAGS += -DXRDP_OPUS
-EXTRA_LIBS += -lopus
+CHANSRV_EXTRA_LIBS += -lopus
endif
if XRDP_MP3LAME
AM_CPPFLAGS += -DXRDP_MP3LAME
-EXTRA_LIBS += -lmp3lame
+CHANSRV_EXTRA_LIBS += -lmp3lame
endif
AM_CFLAGS = $(X_CFLAGS)
@@ -65,4 +65,4 @@ xrdp_chansrv_LDFLAGS = \
xrdp_chansrv_LDADD = \
$(top_builddir)/common/libcommon.la \
$(X_PRE_LIBS) -lXfixes -lXrandr -lX11 $(X_EXTRA_LIBS) \
- $(EXTRA_LIBS)
+ $(CHANSRV_EXTRA_LIBS)