1
0
Fork 0

Merge pull request #2 from icebal/patch-1

Update build.sh
This commit is contained in:
Robert Schade 2017-09-17 16:01:46 +02:00 committed by GitHub
commit 58ad2163e9

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
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
# 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
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 install install-lib install-dev
cd ..