From: cas Date: Wed, 9 Feb 2000 18:45:54 +0000 (+0000) Subject: No comments X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=84a8d4c3bc28759a5b417f77c11ee546d435ce82;p=occt-wok.git No comments --- diff --git a/src/TKWOK/TKWOK_LINKSHR.edl b/src/TKWOK/TKWOK_LINKSHR.edl index f6cd0b4..33ffa18 100755 --- a/src/TKWOK/TKWOK_LINKSHR.edl +++ b/src/TKWOK/TKWOK_LINKSHR.edl @@ -1,18 +1,41 @@ -@ifnotdefined ( %TKWOK_LINKSHR_EDL ) then +--@ifnotdefined ( %TKWOK_LINKSHR_EDL ) then @set %TKWOK_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 -lxnet ; + $ -lC -lc -lm -ldl -lsunmath -lxnet ; + $ 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;