Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
@davilla davilla authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  configure.in
View
2  configure.in
@@ -44,7 +44,7 @@ AC_DEFUN([XB_FIND_SONAME],
$1_FILENAME=$($CC -nostdlib -o /dev/null $LDFLAGS -l$2 -Wl,-M 2>/dev/null | grep "^LOAD.*$2" | awk '{V=2; print $V}')
if [[ -z $$1_FILENAME ]]; then
#try gold linker syntax
- $1_FILENAME=$($CC -nostdlib -o /dev/null $LDFLAGS -l$2 -Wl,-t 3>&1 1>&2 2>&3 | grep "/$2\.so")
+ $1_FILENAME=$($CC -nostdlib -o /dev/null $LDFLAGS -l$2 -Wl,-t 3>&1 1>&2 2>&3 | grep "$2")
fi
if [[ ! -z $$1_FILENAME ]]; then
$1_SONAME=$($OBJDUMP -p $$1_FILENAME | grep "SONAME.*$2" | awk '{V=2; print $V}')
Please sign in to comment.
Something went wrong with that request. Please try again.