3cb9f81e00
See https://www.mozilla.org/en-US/firefox/13.0/releasenotes/ for details - set SEPARATE_BUILD (workarounds #736961) - cleanup useless dirs (from #717616)
22 lines
720 B
Plaintext
22 lines
720 B
Plaintext
$OpenBSD: patch-config_rules_mk,v 1.18 2012/06/11 15:29:56 landry Exp $
|
|
Add -rpath $(installdir) to be sure libxul/libxpcom can open their
|
|
depending libs when being dlopen()'ed themselves
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=552864
|
|
--- config/rules.mk.orig Wed May 2 05:16:35 2012
|
|
+++ config/rules.mk Wed May 9 23:06:34 2012
|
|
@@ -588,6 +588,14 @@ EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(OS_ARCH),OpenBSD)
|
|
+ifdef IS_COMPONENT
|
|
+EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
|
|
+endif
|
|
+DSO_LDOPTS += -Wl,-rpath,'$(installdir)'
|
|
+OS_LDFLAGS += -Wl,-rpath,'$(installdir)'
|
|
+endif
|
|
+
|
|
ifeq ($(OS_ARCH),NetBSD)
|
|
ifneq (,$(filter arc cobalt hpcmips mipsco newsmips pmax sgimips,$(OS_TEST)))
|
|
ifeq ($(MODULE),layout)
|