[Asterisk-cvs] asterisk/contrib/scripts astxs,1.5,1.6
anthm at lists.digium.com
anthm at lists.digium.com
Wed Dec 22 13:30:27 CST 2004
Update of /usr/cvsroot/asterisk/contrib/scripts
In directory mongoose.digium.com:/tmp/cvs-serv26047/contrib/scripts
Modified Files:
astxs
Log Message:
update astxs (small tweak)
Index: astxs
===================================================================
RCS file: /usr/cvsroot/asterisk/contrib/scripts/astxs,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- astxs 25 Aug 2004 18:20:49 -0000 1.5
+++ astxs 22 Dec 2004 18:26:10 -0000 1.6
@@ -131,14 +131,14 @@
my $bad=0;
-$bad = esystem("$vars{CC} $vars{CFLAGS} -c ${base}.c -o ${base}.o") unless($args{linkonly} or $args{installonly});
+$bad = esystem("$vars{CC} -I/usr/src/asterisk -I/usr/src/asterisk/include $vars{CFLAGS} -c ${base}.c -o ${base}.o") unless($args{linkonly} or $args{installonly});
exit -1 if($bad);
exit if($args{nolink});
$vars{MAINOBJ} ||= "$base.o";
-$bad = esystem("$vars{CC} $vars{SOLINK} -o $vars{LDFLAGS} ${base}.so $vars{MAINOBJ} $vars{EXTOBJ}") if(!$bad and !$args{installonly});
+$bad = esystem("$vars{CC} $vars{SOLINK} -o ${base}.so $vars{LDFLAGS} $vars{MAINOBJ} $vars{EXTOBJ}") if(!$bad and !$args{installonly});
exit -1 if($bad);
if(($args{install} or $args{installonly}) and $vars{MODULES_DIR}) {
More information about the svn-commits
mailing list