summaryrefslogtreecommitdiffstats
path: root/doc/stdenv
diff options
context:
space:
mode:
authorDavHau <hsngrmpf+github@gmail.com>2020-05-20 02:33:41 +0000
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2020-06-22 10:41:35 +0200
commitc8c09b7dda6061bb11c6f893c0be04db83461765 (patch)
tree3b54b374d1769aa4645c204e8f8ab4f8cc24f4c9 /doc/stdenv
parent9c3a585731e20413b2b81b211ec162fea876d085 (diff)
add autoPatchelfIgnoreMissingDeps to auto-patchelf.sh
Diffstat (limited to 'doc/stdenv')
-rw-r--r--doc/stdenv/stdenv.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/stdenv/stdenv.xml b/doc/stdenv/stdenv.xml
index ee93f39318b8..818e6c5da00c 100644
--- a/doc/stdenv/stdenv.xml
+++ b/doc/stdenv/stdenv.xml
@@ -2019,6 +2019,9 @@ addEnvHooks "$hostOffset" myBashFunction
In certain situations you may want to run the main command (<command>autoPatchelf</command>) of the setup hook on a file or a set of directories instead of unconditionally patching all outputs. This can be done by setting the <varname>dontAutoPatchelf</varname> environment variable to a non-empty value.
</para>
<para>
+ By default <command>autoPatchelf</command> will fail as soon as any ELF file requires a dependency which cannot be resolved via the given build inputs. In some situations you might prefer to just leave missing dependencies unpatched and continue to patch the rest. This can be achieved by setting the <envar>autoPatchelfIgnoreMissingDeps</envar> environment variable to a non-empty value.
+ </para>
+ <para>
The <command>autoPatchelf</command> command also recognizes a <parameter class="command">--no-recurse</parameter> command line flag, which prevents it from recursing into subdirectories.
</para>
</listitem>