Prevent error message if LD_LIBRARY_PATH is not being used.
Comment out the DEBUG message.
This commit is contained in:
parent
aa187527a5
commit
bfcd7b8f38
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue