mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-24 17:57:48 +03:00
make: use proper libs to make scripts subdir
This commit is contained in:
parent
fa68466e90
commit
c6cc871df8
@ -21,8 +21,13 @@ TARGETS = lvm2_activation_generator_systemd_red_hat
|
||||
include $(top_builddir)/make.tmpl
|
||||
|
||||
DEPLIBS += $(top_builddir)/liblvm/liblvm2app.so $(top_builddir)/libdm/libdevmapper.so
|
||||
LDFLAGS += -L$(top_builddir)/liblvm
|
||||
LVMLIBS = @LVM2APP_LIB@ -ldevmapper
|
||||
|
||||
ifeq ("@DMEVENTD@", "yes")
|
||||
LVMLIBS += -ldevmapper-event
|
||||
endif
|
||||
|
||||
SCRIPTS = lvmdump.sh lvmconf.sh vgimportclone.sh
|
||||
|
||||
ifeq ("@FSADM@", "yes")
|
||||
@ -67,7 +72,7 @@ ifeq ("@BUILD_CMIRRORD@", "yes")
|
||||
endif
|
||||
|
||||
lvm2_activation_generator_systemd_red_hat: $(OBJECTS) $(DEPLIBS)
|
||||
$(CC) -o $@ $(OBJECTS) $(LVMLIBS)
|
||||
$(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LVMLIBS)
|
||||
|
||||
install_systemd_generators:
|
||||
$(INSTALL_DIR) $(systemd_generator_dir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user