You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Bakai (Jira)" <ji...@apache.org> on 2019/09/20 13:23:00 UTC

[jira] [Created] (MINIFICPP-1036) Review libarchive compilation

Daniel Bakai created MINIFICPP-1036:
---------------------------------------

             Summary: Review libarchive compilation
                 Key: MINIFICPP-1036
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1036
             Project: Apache NiFi MiNiFi C++
          Issue Type: Task
            Reporter: Daniel Bakai


libarchive automatically decides whether to use libz, libbz2 and liblzma based on the build host, and then dynamically links with the ones it found.

This means that we don't have propert control over what libraries we end up linking with (unless we have complete control over the build host), and it makes it hard to convert libarchive to an ExternalProject. It also prevents proper Windows build.

Because we almost always build zlib as it is, and neither libbz2 nor liblzma takes too long to build, I suggest that we bundle them. This would make hard-to-control dynamic depenencies go away, and make it easier to have complete libarchive support on Windows.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)