aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_state.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-10-13 11:17:23 -0500
committerTristan Sloughter <[email protected]>2013-10-15 11:21:34 -0500
commit750c3df605de8e7dc0f4d809e2fe7aa09827eee1 (patch)
tree62ef34c600455bde3d02f51c81fe962fb71171dd /src/rlx_state.erl
parent9e390a7022b1f5296d4fdb7618d13d843ed26bde (diff)
downloadrelx-750c3df605de8e7dc0f4d809e2fe7aa09827eee1.tar.gz
relx-750c3df605de8e7dc0f4d809e2fe7aa09827eee1.tar.bz2
relx-750c3df605de8e7dc0f4d809e2fe7aa09827eee1.zip
add optoin to use custom system_libs dir. This closes #64
Diffstat (limited to 'src/rlx_state.erl')
-rw-r--r--src/rlx_state.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rlx_state.erl b/src/rlx_state.erl
index 1d235a9..b196e8d 100644
--- a/src/rlx_state.erl
+++ b/src/rlx_state.erl
@@ -138,7 +138,11 @@ new(PropList, Targets)
default_libs,
proplists:get_value(default_libs, PropList, true)),
- rlx_state:put(create_logic_providers(State1),
+ State2 = rlx_state:put(create_logic_providers(State1),
+ system_libs,
+ proplists:get_value(system_libs, PropList, undefined)),
+
+ rlx_state:put(create_logic_providers(State2),
overlay_vars,
proplists:get_value(overlay_vars, PropList, [])).