Browse Source

mpd: fix build.sh

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

7
packages/mpd/build.sh

@ -22,7 +22,12 @@ TERMUX_PKG_CONFFILES="$TERMUX_PREFIX/etc/mpd.conf"
termux_step_pre_configure() {
CXXFLAGS+=" -DTERMUX -UANDROID"
LDFLAGS+=" -llog -lOpenSLES -lunwind -Wl,--exclude-libs=libunwind.a"
LDFLAGS+=" -llog -lOpenSLES"
if [ $TERMUX_ARCH = "arm" ]; then
LDFLAGS+=" -lunwind -Wl,--exclude-libs=libunwind.a"
fi
rm -f $TERMUX_PREFIX/etc/mpd.conf
}

Loading…
Cancel
Save