openbsd-ports/mail/mozilla-thunderbird/patches/patch-config_rules_mk

17 lines
401 B
Plaintext
Raw Normal View History

$OpenBSD: patch-config_rules_mk,v 1.5 2010/07/27 17:01:16 landry Exp $
--- config/rules.mk.orig Wed Jul 7 11:48:43 2010
+++ config/rules.mk Wed Jul 7 11:49:28 2010
@@ -605,6 +605,12 @@ endif
endif
endif
+ifeq ($(OS_ARCH),OpenBSD)
+ifdef IS_COMPONENT
+EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
+endif
+endif
+
ifeq ($(OS_ARCH),Linux)
ifneq (,$(filter mips mipsel,$(OS_TEST)))
ifeq ($(MODULE),layout)