> On Dec 12, 2015, at 6:18 AM, Yang Liu <[email protected]> wrote: > > Hi, All, > > I would like to unset the LD_PRELOAD variable when I try to compile my module > using go cross compiler with CGO enabled. > > I tried to add "unset LD_PRELOAD" to my do_compile function in bb file or I > did it manually in devshell, the LD_PRELOAD is still set to > LD_PRELOAD=libpseudo.so. > > I tried other env variable, unset is working. Any one know what's the reason? > Is there any way I can get around with this?
you are trying to run a task outside pseudo. So you should unload pseudo using export PSEUDO_UNLOAD=1 > > Thanks, > Yang > -- > _______________________________________________ > yocto mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/yocto
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
