LD_LIBRARY_PATH is set separately to allow csh run the prog too.
This commit is contained in:
@@ -109,7 +109,8 @@ function! s:CompileGCC(run) "{{{2
|
|||||||
call s:appendOutput(cout)
|
call s:appendOutput(cout)
|
||||||
" run it
|
" run it
|
||||||
if a:run == 1
|
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)
|
call s:appendOutput(cmdline)
|
||||||
let eout = system( cmdline )
|
let eout = system( cmdline )
|
||||||
call s:appendOutput(eout)
|
call s:appendOutput(eout)
|
||||||
|
|||||||
Reference in New Issue
Block a user