Bug 436806 - "binary format check during build is broken in FreeBSD 7" (unbreak binary format check on freebsd7 and newer) [r=ted/luser r=wtc]

This commit is contained in:
Marco Perez 2008-07-12 05:14:47 -05:00
parent b979d8a432
commit a3a62fc07c
2 changed files with 2 additions and 2 deletions

View File

@ -1725,7 +1725,7 @@ case "$target" in
;;
*-freebsd*)
if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` != "elf"; then
if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` != "elf"; then
DLL_SUFFIX=".so.1.0"
DSO_LDOPTS="-shared"
fi

View File

@ -65,7 +65,7 @@ endif
ARCH = freebsd
MOZ_OBJFORMAT := $(shell test -x /usr/bin/objformat && /usr/bin/objformat || echo aout)
MOZ_OBJFORMAT := $(shell test -x /usr/bin/objformat && /usr/bin/objformat || echo elf)
ifeq ($(MOZ_OBJFORMAT),elf)
DLL_SUFFIX = so