summaryrefslogtreecommitdiffstats
path: root/libxrdp/Makefile.am
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-10-17 10:43:05 -0700
committerPavel Roskin <plroskin@gmail.com>2016-10-20 10:43:02 -0700
commit5c69f3cd57ac9052d4d69e13c751463775f58b6d (patch)
tree8f743ff6b5934ca9472e9c0df8a212c094507c96 /libxrdp/Makefile.am
parent0422734fc77bdff2c65df14f27b0fd0400775b23 (diff)
downloadxrdp-proprietary-5c69f3cd57ac9052d4d69e13c751463775f58b6d.tar.gz
xrdp-proprietary-5c69f3cd57ac9052d4d69e13c751463775f58b6d.zip
Eliminate EXTRA_FLAGS, it's a poor name, use AM_LDFLAGS
Diffstat (limited to 'libxrdp/Makefile.am')
-rw-r--r--libxrdp/Makefile.am8
1 files changed, 3 insertions, 5 deletions
diff --git a/libxrdp/Makefile.am b/libxrdp/Makefile.am
index e9c63afb..2a37af4d 100644
--- a/libxrdp/Makefile.am
+++ b/libxrdp/Makefile.am
@@ -1,5 +1,4 @@
EXTRA_LIBS =
-EXTRA_FLAGS =
AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
@@ -8,6 +7,8 @@ AM_CPPFLAGS = \
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
-I$(top_srcdir)/common
+AM_LDFLAGS =
+
if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
else
@@ -21,7 +22,7 @@ endif
if XRDP_TJPEG
AM_CPPFLAGS += -DXRDP_JPEG -DXRDP_TJPEG @TurboJpegIncDir@
-EXTRA_FLAGS += @TurboJpegLibDir@
+AM_LDFLAGS += @TurboJpegLibDir@
EXTRA_LIBS += -lturbojpeg
else
if XRDP_JPEG
@@ -52,9 +53,6 @@ libxrdp_la_SOURCES = \
xrdp_rdp.c \
xrdp_sec.c
-libxrdp_la_LDFLAGS = \
- $(EXTRA_FLAGS)
-
libxrdp_la_LIBADD = \
$(top_builddir)/common/libcommon.la \
$(EXTRA_LIBS)