build-package: mv termux_step_replace_guess_scripts to scripts/build
This commit is contained in:
parent
5389a1a4e2
commit
38d3f22377
@ -68,11 +68,7 @@ source scripts/build/termux_step_setup_toolchain.sh
|
||||
source scripts/build/termux_step_patch_package.sh
|
||||
|
||||
# Replace autotools build-aux/config.{sub,guess} with ours to add android targets.
|
||||
termux_step_replace_guess_scripts() {
|
||||
cd "$TERMUX_PKG_SRCDIR"
|
||||
find . -name config.sub -exec chmod u+w '{}' \; -exec cp "$TERMUX_SCRIPTDIR/scripts/config.sub" '{}' \;
|
||||
find . -name config.guess -exec chmod u+w '{}' \; -exec cp "$TERMUX_SCRIPTDIR/scripts/config.guess" '{}' \;
|
||||
}
|
||||
source scripts/build/termux_step_replace_guess_scripts.sh
|
||||
|
||||
# For package scripts to override. Called in $TERMUX_PKG_BUILDDIR.
|
||||
termux_step_pre_configure() {
|
||||
|
5
scripts/build/termux_step_replace_guess_scripts.sh
Normal file
5
scripts/build/termux_step_replace_guess_scripts.sh
Normal file
@ -0,0 +1,5 @@
|
||||
termux_step_replace_guess_scripts() {
|
||||
cd "$TERMUX_PKG_SRCDIR"
|
||||
find . -name config.sub -exec chmod u+w '{}' \; -exec cp "$TERMUX_SCRIPTDIR/scripts/config.sub" '{}' \;
|
||||
find . -name config.guess -exec chmod u+w '{}' \; -exec cp "$TERMUX_SCRIPTDIR/scripts/config.guess" '{}' \;
|
||||
}
|
Loading…
Reference in New Issue
Block a user