summaryrefslogtreecommitdiff
path: root/src/crypto/fipsmodule/delocate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/fipsmodule/delocate.h')
-rw-r--r--src/crypto/fipsmodule/delocate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crypto/fipsmodule/delocate.h b/src/crypto/fipsmodule/delocate.h
index 59effde1..d6564e48 100644
--- a/src/crypto/fipsmodule/delocate.h
+++ b/src/crypto/fipsmodule/delocate.h
@@ -20,7 +20,8 @@
#include "../internal.h"
-#if defined(BORINGSSL_FIPS) && !defined(OPENSSL_ASAN) && !defined(OPENSSL_MSAN)
+#if !defined(BORINGSSL_SHARED_LIBRARY) && defined(BORINGSSL_FIPS) && \
+ !defined(OPENSSL_ASAN) && !defined(OPENSSL_MSAN)
#define DEFINE_BSS_GET(type, name) \
static type name __attribute__((used)); \
type *name##_bss_get(void) __attribute__((const));