Kaydet (Commit) e5ac3107 authored tarafından David Ostrovsky's avatar David Ostrovsky Kaydeden (comit) Michael Stahl

moz build fixed on Ubuntu

Change-Id: I48a4f43cc2e675d0f72bb7d87893f39f39450488
üst 927f1e56
......@@ -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
......
--- misc/mozilla/security/manager/ssl/src/Makefile.in 2012-06-30 19:47:42.190501730 +0200
+++ misc/build/mozilla/security/manager/ssl/src/Makefile.in 2012-06-30 19:44:08.654510143 +0200
@@ -137,6 +137,7 @@
$(MOZ_UNICHARUTIL_LIBS) \
$(MOZ_COMPONENT_LIBS) \
$(MOZ_JS_LIBS) \
+ $(LDFLAG_NO_AS_NEEDED) \
$(NSS_LIBS) \
$(NULL)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment