Fix paths in astxs (bug #3466)
authorMark Spencer <markster@digium.com>
Sun, 30 Jan 2005 19:10:40 +0000 (19:10 +0000)
committerMark Spencer <markster@digium.com>
Sun, 30 Jan 2005 19:10:40 +0000 (19:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4933 65c4cc65-6c06-0410-ace0-fbb531ad65f3

contrib/scripts/astxs

index 44714a9..c525537 100755 (executable)
@@ -131,7 +131,7 @@ if($ext eq "so") {
 
 my $bad=0;
 
-$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});
+$bad = esystem("$vars{CC} -I${astdir} -I${astdir}/include $vars{CFLAGS} -c ${base}.c -o ${base}.o") unless($args{linkonly} or $args{installonly});
 exit -1 if($bad);
 exit if($args{nolink});