openbsd-ports/www/seamonkey/patches/patch-config_rules_mk

17 lines
419 B
Plaintext

$OpenBSD: patch-config_rules_mk,v 1.6 2011/12/08 00:39:18 nigel Exp $
--- config/rules.mk.orig Mon Nov 7 20:53:31 2011
+++ config/rules.mk Mon Nov 21 23:10:19 2011
@@ -606,6 +606,12 @@ endif
endif
endif
+ifeq ($(OS_ARCH),OpenBSD)
+ifdef IS_COMPONENT
+EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
+endif
+endif
+
#
# HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag
# which uses internal symbols first