1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

makefiles: also fix build of unit test

(cherry picked from commit 2076dda0b8)
This commit is contained in:
Zdenek Kabelac 2018-12-17 11:51:17 +01:00 committed by Marian Csontos
parent 034ea414f6
commit 13ce3825ce

View File

@ -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)