mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 10:40:12 +00:00
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:
parent
b979d8a432
commit
a3a62fc07c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user