xiaoxiang781216 commented on code in PR #3649:
URL: https://github.com/apache/nuttx-apps/pull/3649#discussion_r3611738752
##########
netutils/dropbear/Makefile:
##########
@@ -130,6 +130,11 @@ endif
# Match the ESP-IDF port behavior: LTC_SOURCE is only for libtomcrypt sources.
$(foreach src,$(TOMCRYPT_SRCS),$(eval $(src)_CFLAGS +=
${DEFINE_PREFIX}LTC_SOURCE=1))
+# Avoid duplicate symbols when NuttX/apps also provide these APIs.
+$(foreach src,$(TOMCRYPT_SRCS),$(eval $(src)_CFLAGS +=
${DEFINE_PREFIX}base64_encode=dropbear_ltc_base64_encode))
Review Comment:
change cmakefile too
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]