Browse Source

redis: fix on-device builds

emacs-27
Leonid Plyushch 5 years ago
parent
commit
a8dfa6a33e
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 6
      packages/redis/build.sh

6
packages/redis/build.sh

@ -11,10 +11,10 @@ termux_step_pre_configure() {
export PREFIX=$TERMUX_PREFIX export PREFIX=$TERMUX_PREFIX
export USE_JEMALLOC=no export USE_JEMALLOC=no
LDFLAGS+=" -llog"
if [ $TERMUX_ARCH = "i686" ]; then if [ $TERMUX_ARCH = "i686" ]; then
sed -i 's/FINAL_LIBS=-lm/FINAL_LIBS=-lm -latomic/' $TERMUX_PKG_SRCDIR/src/Makefile sed -i 's/FINAL_LIBS=-lm/FINAL_LIBS=-llog -lm -latomic/' $TERMUX_PKG_SRCDIR/src/Makefile
else
sed -i 's/FINAL_LIBS=-lm/FINAL_LIBS=-llog -lm/' $TERMUX_PKG_SRCDIR/src/Makefile
fi fi
} }

Loading…
Cancel
Save