Use LDFLAGS= instead of --with-ldopts on ./configure of e2fsprogs. Version 1.41...
authorSebastian Pipping <sebastian@pipping.org>
Tue, 11 Jan 2011 15:17:55 +0000 (16:17 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 11 Jan 2011 15:17:55 +0000 (16:17 +0100)
gen_compile.sh

index 1a59dff80f756c12b48e0610d43727e7914cc233..f540a2f034a639416cb7084be7ea38aa6ab1cae2 100755 (executable)
@@ -536,7 +536,7 @@ compile_e2fsprogs() {
                        gen_die "e2fsprogs directory ${E2FSPROGS_DIR} invalid"
                cd "${E2FSPROGS_DIR}"
                print_info 1 'e2fsprogs: >> Configuring...'
-               ./configure  --with-ldopts=-static >> ${LOGFILE} 2>&1 ||
+               LDFLAGS=-static ./configure >> ${LOGFILE} 2>&1 ||
                        gen_die 'Configuring e2fsprogs failed!'
                print_info 1 'e2fsprogs: >> Compiling...'
                MAKE=${UTILS_MAKE} compile_generic "" ""