diff --git a/secure/lib/libcrypto/modules/fips/Makefile b/secure/lib/libcrypto/modules/fips/Makefile --- a/secure/lib/libcrypto/modules/fips/Makefile +++ b/secure/lib/libcrypto/modules/fips/Makefile @@ -301,6 +301,8 @@ .include +PICFLAG+= -DOPENSSL_PIC + SOLINKOPTS+= -Wl,-Bsymbolic .if defined(ASM_${MACHINE_CPUARCH}) diff --git a/secure/lib/libcrypto/modules/legacy/Makefile b/secure/lib/libcrypto/modules/legacy/Makefile --- a/secure/lib/libcrypto/modules/legacy/Makefile +++ b/secure/lib/libcrypto/modules/legacy/Makefile @@ -31,6 +31,8 @@ .include +PICFLAG+= -DOPENSSL_PIC + SOLINKOPTS+= -Wl,-Bsymbolic .PATH: ${LCRYPTO_SRC}/providers/implementations/ciphers \