17 lines
420 B
Plaintext
17 lines
420 B
Plaintext
$OpenBSD: patch-config_rules_mk,v 1.5 2011/10/03 21:07:39 landry Exp $
|
|
--- config/rules.mk.orig Sat Sep 17 03:22:59 2011
|
|
+++ config/rules.mk Mon Sep 19 10:35:55 2011
|
|
@@ -614,6 +614,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
|