$NetBSD: patch-mk,v 1.1.1.1 2012/03/15 08:58:27 ryoon Exp $ --- config/rules.mk.orig 2012-03-09 22:20:09.000000000 +0000 +++ 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