summaryrefslogtreecommitdiff
path: root/l10ntools/source
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source')
-rw-r--r--l10ntools/source/localize.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx
index c5ffd6d5c060..96037c991927 100644
--- a/l10ntools/source/localize.cxx
+++ b/l10ntools/source/localize.cxx
@@ -109,6 +109,11 @@ void handleCommand(
}
else
{
+#if defined MACOSX
+ if (auto const env = getenv("DYLD_LIBRARY_PATH")) {
+ buf.append(OString::Concat("DYLD_LIBRARY_PATH=") + env + " ");
+ }
+#endif
auto const env = getenv("WORKDIR_FOR_BUILD");
assert(env != nullptr);
buf.append(env);