summaryrefslogtreecommitdiff
path: root/libraries/base/System/Environment.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/System/Environment.hs')
-rw-r--r--libraries/base/System/Environment.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/base/System/Environment.hs b/libraries/base/System/Environment.hs
index 44382acf45..c5e5d6d039 100644
--- a/libraries/base/System/Environment.hs
+++ b/libraries/base/System/Environment.hs
@@ -19,7 +19,9 @@ module System.Environment
(
getArgs,
getProgName,
+#if !defined(js_HOST_ARCH)
executablePath,
+#endif
getExecutablePath,
getEnv,
lookupEnv,