Browse Source

transmission: Avoid modifying LDFLAGS directly

android-5
Fredrik Fornwall 8 years ago
parent
commit
5d383d990b
  1. 8
      packages/transmission/build.sh

8
packages/transmission/build.sh

@ -6,12 +6,12 @@ TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=https://transmission.cachefly.net/transmission-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SRCURL=https://transmission.cachefly.net/transmission-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-gtk --enable-lightweight --cache-file=termux_configure.cache" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-gtk --enable-lightweight --cache-file=termux_configure.cache"
# liblog for android logging in syslog hack termux_step_pre_configure() {
export LDFLAGS="$LDFLAGS -llog" # liblog for android logging in syslog hack:
LDFLAGS+=" -llog"
termux_step_pre_configure () {
cd $TERMUX_PKG_SRCDIR cd $TERMUX_PKG_SRCDIR
echo "ac_cv_func_getmntent=no" >> termux_configure.cache echo "ac_cv_func_getmntent=no" >> termux_configure.cache
echo "ac_cv_search_getmntent=false" >> termux_configure.cache echo "ac_cv_search_getmntent=false" >> termux_configure.cache
chmod a-w termux_configure.cache # prevent configure from changing chmod a-w termux_configure.cache
} }

Loading…
Cancel
Save