dlang / dub

Package and build management system for D
MIT License
671 stars 230 forks source link

multi-part environment variables #768

Open John-Colvin opened 8 years ago

John-Colvin commented 8 years ago

In lieu of any better way, I am trying to use environment variables to get system-dependent linker flags to dub, but this isn't currently possible to use with dub because an environment variable can only be used to specify one element of an array.

WebFreak001 commented 1 year ago

you mean providing multiple environment variables in a single string or expanding one environment variable into multiple strings?

multiple in a single string should already work.

for expanding one into multiple strings I can't really think of a use-case / it may be better having some dedicated feature for this instead of environment variables.