about summary refs log tree commit diff
path: root/pkgs/build-support
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 /pkgs/build-support
parent9c3a585731e20413b2b81b211ec162fea876d085 (diff)
add autoPatchelfIgnoreMissingDeps to auto-patchelf.sh
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/setup-hooks/auto-patchelf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/setup-hooks/auto-patchelf.sh b/pkgs/build-support/setup-hooks/auto-patchelf.sh
index 72970623ed796..4f7c0c14304c9 100644
--- a/pkgs/build-support/setup-hooks/auto-patchelf.sh
+++ b/pkgs/build-support/setup-hooks/auto-patchelf.sh
@@ -141,7 +141,7 @@ autoPatchelfFile() {
     # This makes sure the builder fails if we didn't find a dependency, because
     # the stdenv setup script is run with set -e. The actual error is emitted
     # earlier in the previous loop.
-    [ $depNotFound -eq 0 ]
+    [ $depNotFound -eq 0 -o -n "$autoPatchelfIgnoreMissingDeps" ]
 
     if [ -n "$rpath" ]; then
         echo "setting RPATH to: $rpath" >&2