There is no documented flag for go test to set the LD_LIBRARY_PATH. From my 
point of view there is also no need for it.

On Monday, June 19, 2017 at 6:36:24 AM UTC+2, lakshmi balachandran wrote:
>
> Hello,
>
> Is there any flags which can be used? other than explicitly setting the 
> env variable? 
>
> On Friday, 16 June 2017 18:08:24 UTC+5:30, messju mohr wrote:
>>
>> ... and a shell agnostic way would be: 
>>
>> $ env LD_LIBRARY_PATH=/foo/bar go test 
>>
>> (see the man page of env(1)) 
>>
>> regards 
>>
>>
>> On Fri, Jun 16, 2017 at 04:12:15AM -0700, Uli Kunitz wrote: 
>> >    Bash supports: 
>> >    ``` 
>> >    LD_LIBRARY_PATH=/foo/bar go test  
>> >    ``` 
>> >    Is that what you want? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to