summaryrefslogtreecommitdiffstats
path: root/libxrdp/Makefile.am
diff options
context:
space:
mode:
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)