diff --git a/test/unit/Makefile b/test/unit/Makefile index 0ff128da9..7bc711719 100644 --- a/test/unit/Makefile +++ b/test/unit/Makefile @@ -45,7 +45,7 @@ CLEAN_TARGETS += $(UNIT_DEPENDS) $(UNIT_OBJECTS) \ $(UNIT_TARGET): $(UNIT_OBJECTS) $(LVMINTERNAL_LIBS) @echo " [LD] $@" $(Q) $(CC) $(CFLAGS) $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) \ - -o $@ $+ $(DMEVENT_LIBS) $(LIBS) -laio + -o $@ $+ $(DMEVENT_LIBS) $(SYSTEMD_LIBS) -L$(top_builddir)/libdm -ldevmapper $(LIBS) -laio .PHONEY: run-unit-test unit-test unit-test: $(UNIT_TARGET)