Fix Solaris 10_x86 shared build. -Bsymbolic is required to avoid
authorAndy Polyakov <appro@openssl.org>
Tue, 28 Sep 2004 20:52:14 +0000 (20:52 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 28 Sep 2004 20:52:14 +0000 (20:52 +0000)
"remaining relocations" in assembler modules. The latter seems to
be new behaviour, elder as/ld managed to resolve this relocations
as internal. It's possible to address this problem differently,
but I settle for -Bsymbolic...
PR: 946

Makefile.org

index 221ff86ad2aa24874436dfc59a110ea1c07a635e..7a30acac3cb427299a38da01127d931850beaa89 100644 (file)
@@ -414,6 +414,7 @@ do_solaris-shared:
                  set -x; ${CC} ${SHARED_LDFLAGS} -G -dy -z text \
                        -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
                        -h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+                       -Wl,-Bsymbolic \
                        $${MINUSZ}allextract lib$$i.a $${MINUSZ}defaultextract \
                        $$libs ${EX_LIBS} -lc ) || exit 1; \
                libs="-l$$i $$libs"; \