about summary refs log tree commit diff
path: root/pkgs/build-support/auto-patchelf/setup-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/auto-patchelf/setup-hook.sh')
-rw-r--r--pkgs/build-support/auto-patchelf/setup-hook.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/build-support/auto-patchelf/setup-hook.sh b/pkgs/build-support/auto-patchelf/setup-hook.sh
index 6e34b4ef..51a6a888 100644
--- a/pkgs/build-support/auto-patchelf/setup-hook.sh
+++ b/pkgs/build-support/auto-patchelf/setup-hook.sh
@@ -41,13 +41,6 @@ getDepsFromSo() {
     @ldd@ "$1" 2> /dev/null | @sed@ -n -e 's/[^=]*=> *\(.\+\) \+([^)]*)$/\1/p'
 }
 
-checkElfDep() {
-    local errors ldout="$(@ldd@ "$1" 2> /dev/null)"
-    if errors="$(echo "$ldout" | @grep@ -F "not found")"; then
-        echo -e "Library dependencies missing for $1:\n$errors"
-    fi
-}
-
 populateCacheWithRecursiveDeps() {
     local so found foundso
     for so in "${cachedDependencies[@]}"; do