build-sys: when building from build tree default to / root dir

This commit is contained in:
Lennart Poettering 2010-06-02 22:13:04 +02:00
parent 93a46b0bc5
commit d7a2d0c67a

View file

@ -65,7 +65,7 @@ else
run_versioned automake "$AM_VERSION" --copy --foreign --add-missing
if [ "x$1" != "xac" ]; then
CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var "$@"
CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --with-rootdir= "$@"
make clean
fi
fi