LD_LIBRARY_PATH is set separately to allow csh run the prog too.

This commit is contained in:
Vahagn Khachatryan
2014-08-14 16:23:44 +04:00
parent 184002dab0
commit 562f722712
2 changed files with 2 additions and 1 deletions

View File

@@ -109,7 +109,8 @@ function! s:CompileGCC(run) "{{{2
call s:appendOutput(cout)
" run it
if a:run == 1
let cmdline="LD_LIBRARY_PATH=".g:ldlibpath.":".$LD_LIBRARY_PATH." ".exename." ".g:argv
let $LD_LIBRARY_PATH="LD_LIBRARY_PATH=".g:ldlibpath.":".$LD_LIBRARY_PATH
let cmdline=exename." ".g:argv
call s:appendOutput(cmdline)
let eout = system( cmdline )
call s:appendOutput(eout)