mpd: fix build.sh

This commit is contained in:
Leonid Pliushch 2019-05-18 04:22:19 +03:00
parent af3b61ac1a
commit e4d78ff89b
1 changed files with 6 additions and 1 deletions

View File

@ -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
}