Browse Source

add support for custom libexecdir (#869)

android-5
Vishal Biswas 8 years ago
committed by Fredrik Fornwall
parent
commit
66926ecd1f
  1. 6
      build-package.sh

6
build-package.sh

@ -668,6 +668,10 @@ termux_step_configure_autotools () {
if [ "$TERMUX_PKG_EXTRA_CONFIGURE_ARGS" != "${TERMUX_PKG_EXTRA_CONFIGURE_ARGS/--host=/}" ]; then if [ "$TERMUX_PKG_EXTRA_CONFIGURE_ARGS" != "${TERMUX_PKG_EXTRA_CONFIGURE_ARGS/--host=/}" ]; then
HOST_FLAG="" HOST_FLAG=""
fi fi
LIBEXEC_FLAG="--libexecdir=$TERMUX_PREFIX/libexec"
if [ "$TERMUX_PKG_EXTRA_CONFIGURE_ARGS" != "${TERMUX_PKG_EXTRA_CONFIGURE_ARGS/--libexecdir=/}" ]; then
LIBEXEC_FLAG=""
fi
# Some packages provides a $PKG-config script which some configure scripts pickup instead of pkg-config: # Some packages provides a $PKG-config script which some configure scripts pickup instead of pkg-config:
mkdir "$TERMUX_PKG_TMPDIR/config-scripts" mkdir "$TERMUX_PKG_TMPDIR/config-scripts"
@ -724,7 +728,7 @@ termux_step_configure_autotools () {
$DISABLE_NLS \ $DISABLE_NLS \
$ENABLE_SHARED \ $ENABLE_SHARED \
$DISABLE_STATIC \ $DISABLE_STATIC \
--libexecdir=$TERMUX_PREFIX/libexec $LIBEXEC_FLAG
} }
termux_step_configure_cmake () { termux_step_configure_cmake () {

Loading…
Cancel
Save