diff options
-rw-r--r-- | bootstrap.conf | 1 | ||||
-rw-r--r-- | src/stdbuf.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index 5b6ec58e5..67837b3f9 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -210,6 +210,7 @@ gnulib_modules=" savedir savewd selinux-at + setenv settime sig2str sigaction diff --git a/src/stdbuf.c b/src/stdbuf.c index fe4d773a7..116619d7a 100644 --- a/src/stdbuf.c +++ b/src/stdbuf.c @@ -256,7 +256,7 @@ set_LD_PRELOAD (void) ret = putenv (LD_PRELOAD); #ifdef __APPLE__ if (ret == 0) - ret = putenv ("DYLD_FORCE_FLAT_NAMESPACE=y"); + ret = setenv ("DYLD_FORCE_FLAT_NAMESPACE", "y", 1); #endif if (ret != 0) |