build-style/scons: also set destdir var (required by vdrift and others).

This commit is contained in:
Juan RP 2015-09-05 10:35:46 +02:00
parent 65bad56292
commit dff3981c64

View file

@ -6,7 +6,7 @@ do_build() {
${make_cmd} ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" \
prefix=/usr DESTDIR=${DESTDIR} \
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR} \
${make_build_args} ${make_build_target}
}
do_install() {
@ -15,6 +15,6 @@ do_install() {
${make_cmd} ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" \
CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" \
prefix=/usr DESTDIR=${DESTDIR} \
prefix=/usr destdir=${DESTDIR} DESTDIR=${DESTDIR} \
${make_install_args} ${make_install_target}
}