summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/ncurses/ncurses/tic.patch
blob: b09da4cd0c6b06e25ec3e6606997c372bac73092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ncurses-5.2/misc/run_tic.in	Mon Oct  9 16:57:35 2000
+++ ncurses-5.2/misc/run_tic.in.new	Thu Mar 14 17:13:20 2002
@@ -105,7 +105,15 @@
 	problems for older ncurses applications.
 
 EOF
-if ( $srcdir/shlib tic$suffix -s -o $TERMINFO $source )
+
+if [ "$BUILD_CC" != "$CC" ]
+then
+	SHLIB=""
+else
+	SHLIB="$srcdir/shlib"
+fi
+
+if ( ${SHLIB} tic$suffix -s -o $TERMINFO $source )
 then
 	echo '** built new '$TERMINFO
 else