5231a1ae47
* This is ESR (Extended Support Release) version. * Fix security bugs
30 lines
738 B
Text
30 lines
738 B
Text
$NetBSD: patch-mk,v 1.1.1.1 2012/03/15 09:45:29 ryoon Exp $
|
|
|
|
Treat DragonFly like FreeBSD.
|
|
|
|
--- mozilla/config/rules.mk.orig 2012-02-16 10:24:47.000000000 +0000
|
|
+++ mozilla/config/rules.mk
|
|
@@ -580,6 +580,12 @@ EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(OS_ARCH),DragonFly)
|
|
+ifdef IS_COMPONENT
|
|
+EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
|
|
+endif
|
|
+endif
|
|
+
|
|
ifeq ($(OS_ARCH),NetBSD)
|
|
ifneq (,$(filter arc cobalt hpcmips mipsco newsmips pmax sgimips,$(OS_TEST)))
|
|
ifeq ($(MODULE),layout)
|
|
@@ -589,6 +595,10 @@ endif
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(OS_ARCH),NetBSD)
|
|
+EXTRA_DSO_LDOPTS += -Wl,-rpath,${PREFIX}/lib/xulrunner
|
|
+endif
|
|
+
|
|
#
|
|
# HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag
|
|
# which uses internal symbols first
|