diff options
| author | Roy Marples <roy@marples.name> | 2016-03-11 20:46:54 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-03-11 20:46:54 +0000 |
| commit | 0af58eb2887a25a58062a88fd481ae45c6409994 (patch) | |
| tree | 5c7b9ca4cbf8c1f5f3907472bc96fe9b888b1216 /configure | |
| parent | 66cb5dbc7ee2a8e399c4a44d4e095a53c1ff24d0 (diff) | |
| download | dhcpcd-0af58eb2887a25a58062a88fd481ae45c6409994.tar.xz | |
Fix configure when >1 ld-elf.so.N
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -309,7 +309,11 @@ fi case "$OS" in linux*|sunos*|kfreebsd*) ;; *) - if ! [ -x "$LDELF" -o -x /libexec/ld-elf.so.[0-9]* ] && \ + # There might be more than one ... + for LDELFN in /libexec/ld-elf.so.[0-9]*; do + [ -x "$LDELFN" ] && break + done + if ! [ -x "$LDELF" -o -x "$LDELFN" ] && \ [ -z "$PREFIX" -o "$PREFIX" = "/" ] then echo "Forcing a static build for $OS and \$PREFIX of /" |
