X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=autoconf%2Fltmain.sh;h=38479b1fbdd71a9635f3136c10861ebc82e37a32;hb=a4479ad25f7f184fc4600beb1d39fd1e71849c4d;hp=761e1fd509ac0071a1cf1096c6ba2173723121d1;hpb=04c2144f90f3bec9baf472038cf0ebd28a86e366;p=oota-llvm.git diff --git a/autoconf/ltmain.sh b/autoconf/ltmain.sh index 761e1fd509a..38479b1fbdd 100644 --- a/autoconf/ltmain.sh +++ b/autoconf/ltmain.sh @@ -4327,12 +4327,12 @@ extern \"C\" { # Prepare the list of exported symbols if test -z "$export_symbols"; then - export_symbols="$output_objdir/$output.exp" + export_symbols="$output_objdir/$outputname.exp" $run $rm $export_symbols $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' else - $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' - $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' + $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' fi fi