Browse Source

Change how configure is called

android-5
Fredrik Fornwall 9 years ago
parent
commit
6c2692459b
  1. 3
      build-package.sh
  2. 3
      packages/cmatrix/build.sh

3
build-package.sh

@ -344,12 +344,11 @@ termux_step_configure () {
# also cause problems with e.g. malloc interceptors such as libgc:
local AVOID_AUTOCONF_WRAPPERS="ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
$TERMUX_PKG_SRCDIR/configure \
env $AVOID_AUTOCONF_WRAPPERS $TERMUX_PKG_SRCDIR/configure \
--disable-dependency-tracking \
--prefix=$TERMUX_PREFIX \
--disable-rpath --disable-rpath-hack \
$HOST_FLAG \
$AVOID_AUTOCONF_WRAPPERS \
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS \
$DISABLE_NLS \
$ENABLE_SHARED \

3
packages/cmatrix/build.sh

@ -10,7 +10,4 @@ termux_step_pre_configure () {
export ac_cv_file__usr_share_consolefonts=no
export ac_cv_file__usr_lib_X11_fonts_misc=no
export ac_cv_file__usr_X11R6_lib_X11_fonts_misc=no
# Fix old configure script broken by configure args:
cd $TERMUX_PKG_SRCDIR && autoconf
}

Loading…
Cancel
Save