summaryrefslogtreecommitdiffstats
path: root/lib/buildsystem/autoconf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/buildsystem/autoconf.sh')
-rw-r--r--lib/buildsystem/autoconf.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/buildsystem/autoconf.sh b/lib/buildsystem/autoconf.sh
index a1ae3ea..0a55f52 100644
--- a/lib/buildsystem/autoconf.sh
+++ b/lib/buildsystem/autoconf.sh
@@ -27,7 +27,7 @@ _oh_autoconf_can_configure()
_oh_autoconf_configure()
{
- _oh_local _ohbsbac_arch_opts
+ _oh_local _ohbsbac_arch_opts _ohbsbac_rc
mkdir -p "${_OH_BUILDSYSTEM_BUILD_DIR}"
cd "${_OH_BUILDSYSTEM_BUILD_DIR}"
@@ -61,10 +61,11 @@ _oh_autoconf_configure()
--disable-maintainer-mode \
--disable-dependency-tracking \
"${@}"
+ _ohbsbac_rc=${?}
cd "${_OH_BUILDSYSTEM_WORK_AREA}"
- _oh_return 0
+ _oh_return ${_ohbsbac_rc}
return ${?}
}