szaszm commented on code in PR #1742:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1742#discussion_r1517767087
##########
extensions/grafana-loki/tests/CMakeLists.txt:
##########
@@ -38,6 +40,9 @@ FOREACH(testfile ${GRAFANA_LOKI_TESTS})
createTests("${testfilename}")
target_link_libraries(${testfilename} Catch2WithMain)
target_link_libraries(${testfilename} minifi-grafana-loki)
+ if (WIN32)
+ target_wholearchive_library(${testfilename} grafana-loki-protos)
+ endif()
Review Comment:
What were the missing symbols? I also don't fully understand why it's a
runtime issue.
In general, "wholearchive" linking is a workaround for some underlying
issue, I think we should at least make an attempt to do a proper fix, instead
of just leaving all unused symbols in the library.
--
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]