diff --git a/modules/input/Makefile.am b/modules/input/Makefile.am index da989eb4ba..46e00fb43e 100644 --- a/modules/input/Makefile.am +++ b/modules/input/Makefile.am @@ -30,11 +30,13 @@ im_xim_la_SOURCES = \ imxim.c libstatic_im_xim_la_SOURCES = $(im_xim_la_SOURCES) im_xim_la_LIBADD = $(LDADDS) +if USE_X11 if INCLUDE_IM_XIM STATIC_XIM_MODULE = libstatic-im-xim.la else XIM_MODULE=im-xim.la endif +endif im_am_et_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined) im_am_et_la_SOURCES = imam-et.c