aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--drivers.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers.m4 b/drivers.m4
index 664ff5c..07ab6a6 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -223,6 +223,9 @@ if test "$USBLCD" = "yes"; then
SERIAL="yes"
DRIVERS="$DRIVERS drv_USBLCD.o"
AC_DEFINE(WITH_USBLCD,1,[USBLCD driver])
+ if test "$has_usb" = "true"; then
+ DRVLIBS="$DRVLIBS -lusb"
+ fi
fi
if test "$X11" = "yes"; then