1
0
Fork 0

Update build.sh

Fixed LDFLAGS
This commit is contained in:
wesley jackson 2017-09-16 23:35:19 -05:00 committed by GitHub
parent 7e009c3485
commit 97a2ca9f72

View file

@ -36,7 +36,7 @@ sed -i "s/\/bin\/sh/\/data\/data\/com.termux\/files\/usr\/bin\/sh/" include/inst
sed -i "s/TMPDIR=\/tmp/TMPDIR=tmp/g" config.guess sed -i "s/TMPDIR=\/tmp/TMPDIR=tmp/g" config.guess
mkdir tmp mkdir tmp
./configure CC=clang LDFLAGS=-lintl --prefix=/data/data/com.termux/files/usr/ ./configure CC=clang --prefix=/data/data/com.termux/files/usr/
#fix for ./include/attr/xattr.h:37:58: error: expected function body after function declarator #fix for ./include/attr/xattr.h:37:58: error: expected function body after function declarator
# const void *__value, size_t __size, int __flags) __THROW; # const void *__value, size_t __size, int __flags) __THROW;
@ -60,7 +60,7 @@ sed -i "s/\/bin\/sh/\/data\/data\/com.termux\/files\/usr\/bin\/sh/" include/inst
sed -i "s/TMPDIR=\/tmp/TMPDIR=tmp/g" config.guess sed -i "s/TMPDIR=\/tmp/TMPDIR=tmp/g" config.guess
mkdir tmp mkdir tmp
./configure --prefix=/data/data/com.termux/files/usr/ CC=clang LDFLAGS=-lintl ./configure --prefix=/data/data/com.termux/files/usr/ CC=clang
make make
make install install-lib install-dev make install install-lib install-dev
cd .. cd ..