From 2381def7431bee52e84f84cd3e95950510cbbfe1 Mon Sep 17 00:00:00 2001 From: cas Date: Wed, 9 Feb 2000 18:45:54 +0000 Subject: [PATCH] No comments --- src/WOKLibs/WOKLibs_LINKSHR.edl | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/src/WOKLibs/WOKLibs_LINKSHR.edl b/src/WOKLibs/WOKLibs_LINKSHR.edl index b03c534..fdfe0ed 100755 --- a/src/WOKLibs/WOKLibs_LINKSHR.edl +++ b/src/WOKLibs/WOKLibs_LINKSHR.edl @@ -1,18 +1,41 @@ -@ifnotdefined ( %WOKLibs_LINKSHR_EDL ) then +--@ifnotdefined ( %WOKLibs_LINKSHR_EDL ) then @set %WOKLibs_LINKSHR_EDL = ""; @if ( %Station == "lin" ) then @template LINKSHR_Footer () is $ -ltcl -ldl; + $ set ld_status=$status; + $ if ( $?LD_LIBRARY_PATH ) then + $ set ld_library_path=$LD_LIBRARY_PATH + $ endif @end; @template LINKSHR_CheckUndefFooter () is - $ -ltcl -ldl; + $ ; + $ set status=$ld_status; + $ if ( $?ld_library_path ) then + $ setenv LD_LIBRARY_PATH $ld_library_path + $ else + $ unsetenv LD_LIBRARY_PATH + $ endif @end; @else @if ( %Station == "sun" ) then @template LINKSHR_Footer () is $ -lC -lc ; + $ set ld_status=$status; + $ if ( $?LD_LIBRARY_PATH ) then + $ set ld_library_path=$LD_LIBRARY_PATH + $ endif + @end; + @template LINKSHR_CheckUndefFooter () is + $ ; + $ set status=$ld_status; + $ if ( $?ld_library_path ) then + $ setenv LD_LIBRARY_PATH $ld_library_path + $ else + $ unsetenv LD_LIBRARY_PATH + $ endif @end; @set %LINKSHR_DBMSOpt = ""; @endif; @endif; -@endif; +--@endif; -- 2.39.5