Skip to content
This repository
Browse code

Revert "fixed: Gold linker check didn't work properly in case the sta…

…ndard GNU linker was used"

This reverts commit 64a59cc.

This commit broke android build and 3 days of build failures is enough to show no one cares. Try again.
  • Loading branch information...
commit 0eda7aa3866124faf993c1149de1102e12661a2b 1 parent 8c0fae1
authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  configure.in
2  configure.in
@@ -44,7 +44,7 @@ AC_DEFUN([XB_FIND_SONAME],
44 44
     $1_FILENAME=$($CC -nostdlib -o /dev/null $LDFLAGS -l$2 -Wl,-M 2>/dev/null | grep "^LOAD.*$2" | awk '{V=2; print $V}')
45 45
     if [[ -z $$1_FILENAME ]]; then
46 46
       #try gold linker syntax
47  
-      $1_FILENAME=$($CC -nostdlib -o /dev/null $LDFLAGS -l$2 -Wl,-t 3>&1 1>&2 2>&3 | grep "/$2\.so")
  47
+      $1_FILENAME=$($CC -nostdlib -o /dev/null $LDFLAGS -l$2 -Wl,-t 3>&1 1>&2 2>&3 | grep "$2")
48 48
     fi
49 49
     if [[ ! -z $$1_FILENAME ]]; then
50 50
       $1_SONAME=$($OBJDUMP -p $$1_FILENAME | grep "SONAME.*$2" | awk '{V=2; print $V}')

0 notes on commit 0eda7aa

Please sign in to comment.
Something went wrong with that request. Please try again.