fgerlits commented on code in PR #2304:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2304#discussion_r4563310436


##########
libminifi/test/unit/CMakeLists.txt:
##########
@@ -37,4 +37,11 @@ FOREACH(testfile ${UNIT_TESTS})
 ENDFOREACH()
 message("-- Finished building ${UNIT_TEST_COUNT} unit test file(s)...")
 
+if (NOT WIN32)
+    set_target_properties(BackTraceTests PROPERTIES ENABLE_EXPORTS ON)
+    if (APPLE)

Review Comment:
   FWIW, the current code does work on Linux: symbols in the executable itself, 
which were not seen by `dladdr1()` before this CMakelists.txt change, were 
correctly resolved after setting `ENABLE_EXPORTS` to `ON`, without the 
`-rdynamic` option.



-- 
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]

Reply via email to