diff --git a/hw/kdrive/fbdev/Makefile.am b/hw/kdrive/fbdev/Makefile.am index c0884d3d6..31643e2f1 100644 --- a/hw/kdrive/fbdev/Makefile.am +++ b/hw/kdrive/fbdev/Makefile.am @@ -38,3 +38,7 @@ Xfbdev_LDADD = \ $(XSERVER_LIBS) \ -lm -lz +if TSLIB +Xfbdev_LDADD += -lts +endif + diff --git a/hw/kdrive/linux/Makefile.am b/hw/kdrive/linux/Makefile.am index 7b95bd7fe..53df4e23b 100644 --- a/hw/kdrive/linux/Makefile.am +++ b/hw/kdrive/linux/Makefile.am @@ -20,3 +20,7 @@ liblinux_a_SOURCES = \ mouse.c \ ms.c \ ps2.c + +if TSLIB +liblinux_a_SOURCES += tslib.c +endif