21 lines
667 B
Plaintext
21 lines
667 B
Plaintext
$OpenBSD: patch-config_rules_mk,v 1.7 2012/02/20 20:21:43 landry Exp $
|
|
Add -rpath $(installdir) to be sure libxul/libxpcom can open their
|
|
depending libs when being dlopen()'ed themselves
|
|
--- config/rules.mk.orig Wed Jan 11 18:14:35 2012
|
|
+++ config/rules.mk Sat Jan 14 20:21:44 2012
|
|
@@ -580,6 +580,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)
|