summaryrefslogtreecommitdiff
path: root/src/dxr3/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/dxr3/Makefile.am')
-rw-r--r--src/dxr3/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dxr3/Makefile.am b/src/dxr3/Makefile.am
index dbfda8a42..f3db2f562 100644
--- a/src/dxr3/Makefile.am
+++ b/src/dxr3/Makefile.am
@@ -23,8 +23,12 @@ xineplug_decode_dxr3_spu_la_SOURCES = dxr3_decode_spu.c nav_read.c
xineplug_decode_dxr3_spu_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_dxr3_la_SOURCES = video_out_dxr3.c dxr3_mpeg_encoders.c alphablend.c
+if HAVE_X11
xineplug_vo_out_dxr3_la_LIBADD = $(X_LIBS) -lXext
xineplug_vo_out_dxr3_la_LDFLAGS = -avoid-version -module $(link_fame) $(link_rte) $(X_LIBS)
+else
+xineplug_vo_out_dxr3_la_LDFLAGS = -avoid-version -module $(link_fame) $(link_rte)
+endif
noinst_HEADERS = dxr3.h dxr3_scr.h video_out_dxr3.h nav_types.h nav_read.h alphablend.h bswap.h