defining custom config avoids warning of library builds pulling in options.h

This commit is contained in:
JacobBarthelmeh
2024-12-11 09:50:52 -07:00
parent 45992164d6
commit 2749884fdc

View File

@@ -322,9 +322,10 @@
#endif
#endif
#if (defined(BUILDING_WOLFSSL) && defined(WOLFSSL_USE_OPTIONS_H)) || \
(defined(BUILDING_WOLFSSL) && defined(WOLFSSL_OPTIONS_H) && \
!defined(EXTERNAL_OPTS_OPENVPN))
#if !defined(WOLFSSL_CUSTOM_CONFIG) && \
((defined(BUILDING_WOLFSSL) && defined(WOLFSSL_USE_OPTIONS_H)) || \
(defined(BUILDING_WOLFSSL) && defined(WOLFSSL_OPTIONS_H) && \
!defined(EXTERNAL_OPTS_OPENVPN)))
#warning wolfssl/options.h included in compiled wolfssl library object.
#endif