We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c36d22 commit e22771dCopy full SHA for e22771d
libncurses-5.9.build.bash
@@ -20,7 +20,7 @@ cd objdir
20
PREFIX=`pwd`
21
cd -
22
23
-if [[ $OS == "Msys" || $OS == "Cygwin" || $CROSS_COMPILE_HOST == "i686-w64-mingw32" ]] ; then
+if [[ $OS == "Msys" || $OS == "Cygwin" || $CROSS_COMPILE_HOST == "i686-w64-mingw32" || $CROSS_COMPILE_HOST == "aarch64-linux-gnu" ]] ; then
24
#Avoid compiling ncurses in Windows platform
25
exit 0
26
fi
@@ -40,6 +40,7 @@ CONFARGS="--prefix=$PREFIX --disable-shared --without-debug --without-ada --with
40
if [[ $CROSS_COMPILE != "" ]] ; then
41
CONFARGS="$CONFARGS --host=$CROSS_COMPILE_HOST"
42
43
+autoconf
44
CFLAGS="-w -O2 $CFLAGS -fPIC" CPPFLAGS="-P" CXXFLAGS="-w -O2 $CXXFLAGS -fPIC" LDFLAGS="-s $LDFLAGS -fPIC" ./configure $CONFARGS
45
make -j 4
46
make install.libs
0 commit comments