diff --git a/libcxx/docs/VendorDocumentation.rst b/libcxx/docs/VendorDocumentation.rst index 3e4b305707258..fc788178c96e4 100644 --- a/libcxx/docs/VendorDocumentation.rst +++ b/libcxx/docs/VendorDocumentation.rst @@ -68,6 +68,11 @@ to override it with custom paths. With Clang, this can be done with: The option ``-Wl,-rpath,/lib`` adds a runtime library search path, which causes the system's dynamic linker to look for libc++ in ``/lib`` whenever the program is loaded. +.. note:: + If the runtimes were built using the "per-target runtime directory" layout, + they will be in ``/lib/`` instead of ``/lib``. + In this case, use the former path for all library paths in the command above + (the path to include files does not change). The Bootstrapping build =======================