Added code to emit SHRLIB_SEARCH_DIRS settings into CONFIG_APP_INCLUDE

This commit is contained in:
Andrew Johnson
2003-02-06 21:57:51 +00:00
parent 52fc660e03
commit df2451c7ee
+10
View File
@@ -168,6 +168,16 @@ sub configAppInclude {
next unless (-d "$path/lib/$arch");
print OUT "${app}_LIB = \$($app)/lib/$arch\n";
}
# We can't just include TOP in the foreach list:
# 1. The lib directory probably doesn't exist yet, and
# 2. We need an abolute path but $(TOP_LIB) is relative
$path = $macros{"TOP"};
print OUT "SHRLIB_SEARCH_DIRS += $path/lib/$arch\n";
foreach $app (@includes) {
$path = $macros{$app};
next unless (-d "$path/lib/$arch");
print OUT "SHRLIB_SEARCH_DIRS += \$(${app}_LIB)\n";
}
}
foreach $app (@includes) {
$path = $macros{$app};