Github user arpadboda commented on a diff in the pull request:

    https://github.com/apache/nifi-minifi-cpp/pull/459#discussion_r240643845
  
    --- Diff: nanofi/examples/CMakeLists.txt ---
    @@ -50,11 +50,11 @@ if (WIN32)
         set(LINK_FLAGS "/WHOLEARCHIVE")
         set(LINK_END_FLAGS "")
     elseif (APPLE)
    -    set(LINK_FLAGS "-Wl,-all_load")
    +    set(LINK_FLAGS "")
    --- End diff --
    
    ![alt 
text](http://thumbpress.com/wp-content/uploads/2013/05/I-Have-No-Idea-What-Im-Doing-2.jpg
 "What I am doing?")
    
    Processor symbols are part of libminifi, which is not linked here directly. 
In case of indirect linkage (libminifi is linked via nanofi and/or 
libminifi-http-curl), it seems that all_load just make it worse. 
    
    I used the following command to verify the symbols being present in the 
binaries:
    ```
    find . -type f | perl -lne 'print if -B' | xargs nm -a --print-file-name | 
grep -i "generateflowfile" | cut -d ':' -f1 | sort -u | grep -vi "test"
    ```


---

Reply via email to