From df2451c7ee0723cc696e15fe2310995555f15359 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 6 Feb 2003 21:57:51 +0000 Subject: [PATCH] Added code to emit SHRLIB_SEARCH_DIRS settings into CONFIG_APP_INCLUDE --- configure/tools/convertRelease.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure/tools/convertRelease.pl b/configure/tools/convertRelease.pl index 414bdc4b2..902fcb18e 100755 --- a/configure/tools/convertRelease.pl +++ b/configure/tools/convertRelease.pl @@ -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};