summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index d3bc76c19..af23932da 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -854,6 +854,9 @@ mount_info::init ()
the registry. */
from_registry ();
+ if (dynamically_loaded)
+ return;
+
/* If slash isn't already mounted, mount system directory as slash. */
if (nmounts != 0)
for (int i = 0; i < nmounts; i++)