From 97a2ca9f72d8698dad474a747126591df7f27045 Mon Sep 17 00:00:00 2001 From: wesley jackson Date: Sat, 16 Sep 2017 23:35:19 -0500 Subject: [PATCH] Update build.sh Fixed LDFLAGS --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index d0a7d88..00aa796 100755 --- a/build.sh +++ b/build.sh @@ -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 ..