diff --git a/Makefile.am b/Makefile.am index cfa07d57..319f9329 100644 --- a/Makefile.am +++ b/Makefile.am @@ -111,8 +111,10 @@ libsigrok_la_SOURCES += \ src/dmm/ut71x.c # Hardware (LCR chip parsers) +if NEED_SERIAL libsigrok_la_SOURCES += \ src/lcr/es51919.c +endif # Hardware drivers if HW_AGILENT_DMM