diff --git a/lib/rbcodec/codecs/codecs.h b/lib/rbcodec/codecs/codecs.h index 672b1ded53..4ac5d283dd 100644 --- a/lib/rbcodec/codecs/codecs.h +++ b/lib/rbcodec/codecs/codecs.h @@ -258,7 +258,8 @@ extern unsigned char plugin_end_addr[]; codec_start, codec_run, &ci }; /* encoders */ #define CODEC_ENC_HEADER \ - const struct codec_header __header = { \ + const struct codec_header __header \ + __attribute__((visibility("default"))) = { \ { CODEC_ENC_MAGIC, TARGET_ID, CODEC_API_VERSION, NULL, NULL }, \ codec_start, codec_run, &ci, { enc_callback } }; #endif /* SIMULATOR */