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:
parent
034ea414f6
commit
13ce3825ce
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user