Prevent error message if LD_LIBRARY_PATH is not being used.

Comment out the DEBUG message.
This commit is contained in:
Bill Medland 2002-04-20 20:52:53 +00:00 committed by Alexandre Julliard
parent aa187527a5
commit bfcd7b8f38
1 changed files with 6 additions and 4 deletions

View File

@ -242,18 +242,20 @@ sub Check_BaseFiles {
}
close (LDCONF);
# Next parse LD_LIBRARY_PATH to find user-specific lib dirs.
my (@ld_dirs) = split (/:/, $ENV{'LD_LIBRARY_PATH'});
my ($dir);
if ($ENV{'LD_LIBRARY_PATH'}) {
my (@ld_dirs) = split (/:/, $ENV{'LD_LIBRARY_PATH'});
foreach $dir (@ld_dirs) {
if (-d $dir) { push @dirlist, $dir; }
}
}
# Now check for a libwine.so in each directory
foreach $dir (@dirlist) {
my ($target) = $dir . "/libwine.so";
if (-f $target) { push @output, $target; }
}
print "DEBUG: found libwine: @output\n";
#print "DEBUG: found libwine: @output\n";
if (@output > 1)
{