Rudi Grinberg
|
3e9bc8c0c3
|
Allow setting ENV vars in findlib.conf per toolchain
This is useful for configuring PKG CONFIG for cross compilation
|
2018-05-01 00:13:50 +07:00 |
Jeremie Dimino
|
31858c9680
|
Don't on side-effects for setting up the environment
Instead of making sure we set global variables and call Unix.putenv in
the right order, pass the environment explicitely everywhere.
|
2018-04-03 11:43:07 +08:00 |
Rudi Grinberg
|
9f3eb956d3
|
Add Env.update
|
2018-03-22 22:42:42 +08:00 |
Rudi Grinberg
|
bd457ea549
|
Use Env.t over string array in another place
|
2018-03-15 18:24:41 +08:00 |
Rudi Grinberg
|
79d47ab68e
|
Simplify Env.t
Use assoc list
|
2018-03-12 18:45:47 +07:00 |
Rudi Grinberg
|
f1baaa23a8
|
Add Env.add
Just add 1 binding to Env
|
2018-03-12 18:45:47 +07:00 |
Rudi Grinberg
|
4b191b2b03
|
s/Env.get_var/Env.get/
|
2018-03-12 18:45:47 +07:00 |
Rudi Grinberg
|
35d4153641
|
Make Env.t abstract
|
2018-03-12 18:43:02 +07:00 |
Rudi Grinberg
|
8458bf3b15
|
Move env related functions to Env module
|
2018-03-12 18:43:02 +07:00 |