From 19102ea864f07d07619f47cc2770432dbb294182 Mon Sep 17 00:00:00 2001
From: Uli Link
Date: Sat, 21 Aug 2010 21:53:16 -0700
Subject: [PATCH] bug 576879 fix 64bit AIX link error, r=ted.mielczarek,
a=bsmedberg
--HG--
extra : rebase_source : 0cb3dc31786dcdb2bbc68c4dff9823a82900c65a
---
toolkit/library/Makefile.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/toolkit/library/Makefile.in b/toolkit/library/Makefile.in
index a6a749ce8abc..426d8de26d69 100644
--- a/toolkit/library/Makefile.in
+++ b/toolkit/library/Makefile.in
@@ -240,6 +240,12 @@ ifeq ($(OS_ARCH),SunOS)
EXTRA_DSO_LDOPTS += -lelf -ldemangle
endif
+ifeq ($(OS_ARCH),AIX)
+ifdef HAVE_64BIT_OS
+EXTRA_DSO_LDOPTS += -bbigtoc
+endif
+endif
+
ifeq ($(OS_ARCH),WINNT)
OS_LIBS += $(call EXPAND_LIBNAME,shell32 ole32 uuid version winspool comdlg32 imm32 winmm wsock32 msimg32 shlwapi psapi)
ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC))