Browse Source
additional libraries should be specified in `LIBS` instead of `LDFLAGS` if using autotools
Fixes on-device build for: alpine, autossh, direvent, heyu, krb5, msmtp, redir,
screen, socat, tinyproxy, tor.
android-5
Leonid Plyushch
6 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
11 changed files with
11 additions and
11 deletions
-
packages/alpine/build.sh
-
packages/autossh/build.sh
-
packages/direvent/build.sh
-
packages/heyu/build.sh
-
packages/krb5/build.sh
-
packages/msmtp/build.sh
-
packages/redir/build.sh
-
packages/screen/build.sh
-
packages/socat/build.sh
-
packages/tinyproxy/build.sh
-
packages/tor/build.sh
|
|
@ -24,7 +24,7 @@ termux_step_pre_configure() { |
|
|
|
export alpine_SSLVERSION=old |
|
|
|
export TPATH=$PATH |
|
|
|
|
|
|
|
LDFLAGS+=" -lcrypt -llog" |
|
|
|
export LIBS="-lcrypt -llog" |
|
|
|
|
|
|
|
# To get S_IREAD and friends: |
|
|
|
CPPFLAGS+=" -D__USE_BSD" |
|
|
|
|
|
@ -11,5 +11,5 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--mandir=$TERMUX_PREFIX/share/man ac_cv_path_ss |
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
|
# For syslog logging: |
|
|
|
LDFLAGS+=" -llog" |
|
|
|
export LIBS="-llog" |
|
|
|
} |
|
|
|
|
|
@ -7,5 +7,5 @@ TERMUX_PKG_SHA256=239822cdda9ecbbbc41a69181b34505b2d3badd4df5367e765a0ceb002883b |
|
|
|
TERMUX_PKG_DEPENDS="libandroid-glob" |
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
|
LDFLAGS+=" -llog -landroid-glob" |
|
|
|
export LIBS="-landroid-glob -llog" |
|
|
|
} |
|
|
|
|
|
@ -8,5 +8,5 @@ TERMUX_PKG_SRCURL=https://github.com/HeyuX10Automation/heyu/archive/v$TERMUX_PKG |
|
|
|
termux_step_pre_configure() { |
|
|
|
# rindex is an obsolete version of strrchr which is not available in Android: |
|
|
|
CFLAGS+=" -Drindex=strrchr" |
|
|
|
LDFLAGS+=" -llog" |
|
|
|
export LIBS="-llog" |
|
|
|
} |
|
|
|
|
|
@ -38,7 +38,7 @@ termux_step_pre_configure() { |
|
|
|
cp "$TERMUX_PKG_BUILDER_DIR/netbsd_getpass.c" "$TERMUX_PKG_SRCDIR/clients/kpasswd/" |
|
|
|
|
|
|
|
CFLAGS="$CFLAGS -D_PASSWORD_LEN=PASS_MAX" |
|
|
|
LDFLAGS="$LDFLAGS -landroid-glob -llog" |
|
|
|
export LIBS="-landroid-glob -llog" |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_post_make_install() { |
|
|
|
|
|
@ -8,7 +8,7 @@ TERMUX_PKG_DEPENDS="openssl, libidn2" |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-tls=openssl" |
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
|
LDFLAGS=" -llog" |
|
|
|
export LIBS="-llog" |
|
|
|
autoreconf -if |
|
|
|
cp $TERMUX_PKG_BUILDER_DIR/ns_parse.h src/ |
|
|
|
} |
|
|
|
|
|
@ -8,5 +8,5 @@ TERMUX_PKG_BUILD_IN_SRC=true |
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/applications share/pixmaps" |
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
|
LDFLAGS+=" -llog" |
|
|
|
export LIBS="-llog" |
|
|
|
} |
|
|
|
|
|
@ -16,7 +16,7 @@ termux_step_pre_configure() { |
|
|
|
# Run autoreconf since we have patched configure.ac |
|
|
|
autoconf |
|
|
|
CFLAGS+=" -DGETUTENT" |
|
|
|
LDFLAGS+=" -llog -lcrypt" |
|
|
|
export LIBS="-lcrypt -llog" |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_post_configure() { |
|
|
|
|
|
@ -9,5 +9,5 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_header_resolv_h=no ac_cv_c_compiler_gnu=yes |
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true |
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
|
LDFLAGS="$LDFLAGS -llog" # uses syslog |
|
|
|
export LIBS="-llog" |
|
|
|
} |
|
|
|
|
|
@ -7,7 +7,7 @@ TERMUX_PKG_SRCURL=https://github.com/tinyproxy/tinyproxy/releases/download/${TER |
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-regexcheck" |
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
|
LDFLAGS+=" -llog" |
|
|
|
export LIBS="-llog" |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_post_massage() { |
|
|
|
|
|
@ -11,7 +11,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-zstd --disable-unittests" |
|
|
|
TERMUX_PKG_CONFFILES="etc/tor/torrc" |
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
|
LDFLAGS="$LDFLAGS -llog" |
|
|
|
export LIBS="-llog" |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_post_make_install() { |
|
|
|