lvm2/no_buildroot_shared.diff

14 lines
467 B
Diff
Raw Normal View History

Index: LVM2.2.02.111/tools/Makefile.in
===================================================================
--- LVM2.2.02.111.orig/tools/Makefile.in
+++ LVM2.2.02.111/tools/Makefile.in
@@ -110,7 +110,7 @@ LVMLIBS += -ldevmapper
EXPORTED_HEADER = $(srcdir)/lvm2cmd.h
EXPORTED_FN_PREFIX = lvm2
-DEFS += -DLVM_SHARED_PATH=\"$(exec_prefix)/sbin/lvm\"
+DEFS += -DLVM_SHARED_PATH=\"/sbin/lvm\"
CFLOW_LIST = lvmcmdlib.c lvm2cmd.c
CFLOW_LIST_TARGET = liblvm2cmd.cflow