21 lines
666 B
Plaintext
21 lines
666 B
Plaintext
$OpenBSD: patch-config_rules_mk,v 1.5 2011/12/08 00:42:54 nigel Exp $
|
|
Add -rpath $(installdir) to be sure libxul/libxpcom can open their
|
|
depending libs when being dlopen()'ed themselves
|
|
--- config/rules.mk.orig Fri Nov 4 23:51:44 2011
|
|
+++ config/rules.mk Thu Nov 17 19:34:16 2011
|
|
@@ -559,6 +559,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)
|