Fix compilation of LVM 2.02.74
authorAmadeusz ?o?nowski <aidecoe@aidecoe.name>
Sat, 15 Jan 2011 23:48:59 +0000 (00:48 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Sat, 15 Jan 2011 23:56:23 +0000 (00:56 +0100)
gen_compile.sh

index 6e1b243597a973f8323d9a19dd1e6a97f59b6343..cd9a61fad32897046c8d8a7e54e9583bb4378f1a 100755 (executable)
@@ -417,7 +417,6 @@ compile_busybox() {
 }
 
 compile_lvm() {
-       compile_device_mapper
        if [ ! -f "${LVM_BINCACHE}" ]
        then
                [ -f "${LVM_SRCTAR}" ] ||
@@ -435,9 +434,7 @@ compile_lvm() {
                cd "${LVM_DIR}"
                apply_patches lvm ${LVM_VER}
                print_info 1 'lvm: >> Configuring...'
-                       LDFLAGS="-L${TEMP}/device-mapper/lib" \
                        CFLAGS="-fPIC" \
-                       CPPFLAGS="-I${TEMP}/device-mapper/include" \
                        ./configure --enable-static_link --prefix=${TEMP}/lvm \
                                --with-lvm1=none --with-clvmd=none --with-cluster=none \
                                --disable-readline --disable-selinux --with-mirrors=none \