library dependencies are lost

Removed a double dot ".." I introduced into file names.
This commit is contained in:
Alex Lin 2015-09-29 09:27:11 -05:00
parent ffe32e3c99
commit 8b6a4efbad
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ sub read_lib_deps($@) {
next if ( $l =~ /^-|\.a$/ ) ;
$non_lib_processed_files{$l} = 1 ;
my ( $file, $dir, $suffix) = fileparse($l, qr/\.[^.]*/) ;
my ($lib_dep_file_name) = "build$dir${file}.${suffix}.lib_deps" ;
my ($lib_dep_file_name) = "build$dir${file}${suffix}.lib_deps" ;
if ( -e $lib_dep_file_name ) {
open FH, "$lib_dep_file_name" or die 'cannot open $lib_dep_file_name' ;
my (@all_lines) = <FH> ;

View File

@ -136,7 +136,7 @@ sub write_lib_deps($) {
# Build the library dependencies file name to store results
my ( $file, $dir, $suffix) = fileparse($source_file_name, qr/\.[^.]*/) ;
my ($lib_dep_file_name) = "build$dir${file}.${suffix}.lib_deps" ;
my ($lib_dep_file_name) = "build$dir${file}${suffix}.lib_deps" ;
if ( ! -e "build$dir" ) {
make_path("build$dir") ;
}