Hi all,

I need to use a linux environment variable inside the "config-5.1.lua"
to set the "external_deps_dirs", I've used this istruction:

external_deps_dirs = { os.getenv("GCC_SYSROOT") }

but i got this error:

Error running file: [string
"/home/tetsuya/buildroot/br/output/host/usr/..."]:15: attempt to index
global 'os' (a nil value)

If i understand correctly the os library cannot be used in the
"config-5.1.lua" file, there is some way to use it?

Thanks and best regards
-- 
Fabio Porcedda

------------------------------------------------------------------------------
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to