diff --git a/common/build-style/scons.sh b/common/build-style/scons.sh index a7015b8504..ad0673f0a8 100644 --- a/common/build-style/scons.sh +++ b/common/build-style/scons.sh @@ -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} }