summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-17 18:58:57 +0000
committermidipix <writeonce@midipix.org>2021-04-17 18:58:57 +0000
commite8bfe52070bfaa7934a02b78312b1689ac7b3805 (patch)
tree2ea29aa3210ce61e10bc55285d35124cb577fd42 /src/logic
parentb0cc9e73cc56d6cacac4b9b709b8c508b798dc01 (diff)
downloadslibtool-e8bfe52070bfaa7934a02b78312b1689ac7b3805.tar.bz2
slibtool-e8bfe52070bfaa7934a02b78312b1689ac7b3805.tar.xz
library: eliminate use of the external environ variable.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_ctx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c
index 7b5267a..82961b6 100644
--- a/src/logic/slbt_exec_ctx.c
+++ b/src/logic/slbt_exec_ctx.c
@@ -136,6 +136,8 @@ static struct slbt_exec_ctx_impl * slbt_exec_ctx_alloc(
ictx->ctx.csrc = csrc;
ictx->fdwrapper = (-1);
+ ictx->ctx.envp = slbt_driver_envp(dctx);
+
return ictx;
}