diff options
Diffstat (limited to 'moz/makefile.mk')
-rw-r--r-- | moz/makefile.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/moz/makefile.mk b/moz/makefile.mk index 76296ad5e5cf..f154b9512801 100644 --- a/moz/makefile.mk +++ b/moz/makefile.mk @@ -88,7 +88,8 @@ PATCH_FILES = \ patches/nss-linux3.patch \ patches/clang_add_nsCaseInsensitiveStringComparator_default_constructor.patch \ patches/clang_missing_this_pointers.patch \ - patches/seamonkey-1.1.14.source-macosx10.6and7.patch + patches/seamonkey-1.1.14.source-macosx10.6and7.patch \ + patches/ssl-linux-no_as_needed_linker_option.patch # This file is needed for the W32 build when BUILD_MOZAB is set # (currently only vc8/vs2005 is supported when BUILD_MOZAB is set) @@ -152,6 +153,14 @@ LDFLAGS+=$(foreach,name,$(echo nspr4 nss3 nssutil3 plc4 plds4) -Wl,-dylib_file,@ .ENDIF .ENDIF +# how can we do it only on Debian/Ubuntu? +.IF "$(OS)"=="LINUX" +.IF "$(COM)"=="GCC" +LDFLAG_NO_AS_NEEDED=-Wl,--no-as-needed +.EXPORT : LDFLAG_NO_AS_NEEDED +.ENDIF +.ENDIF + #disable profilelocking to share profile with mozilla #disable activex and activex-scripting to remove the dependence of Microsoft_SDK\src\mfc\atlbase.h #disable gnomevfs to remove the needed of gnome develop files |