Skip to content

Commit

Permalink
Revert "fixed: Gold linker check didn't work properly in case the sta…
Browse files Browse the repository at this point in the history
…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
davilla committed Feb 5, 2013
1 parent 8c0fae1 commit 0eda7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -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}')
Expand Down

0 comments on commit 0eda7aa

Please sign in to comment.