
#
# Made by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- ncurses-4.2/misc/run_tic.sh~run_tic
+++ ncurses-4.2/misc/run_tic.sh
@@ -108,7 +108,14 @@
 	SRC=$TMP
 fi
 
-if ( $srcdir/shlib tic -s $SRC )
+if [ "$HOSTCC" != "$CC" ]
+then
+	SHLIB=""
+else
+	SHLIB="$srcdir/shlib"
+fi
+
+if ( ${SHLIB} tic -s $SRC )
 then
 	echo '** built new '$TERMINFO
 else
