You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "B (Jira)" <ji...@apache.org> on 2020/11/23 18:51:00 UTC

[jira] [Created] (AVRO-2988) pkg-config: Include required libraries in Libs.private

B created AVRO-2988:
-----------------------

             Summary: pkg-config: Include required libraries in Libs.private
                 Key: AVRO-2988
                 URL: https://issues.apache.org/jira/browse/AVRO-2988
             Project: Apache Avro
          Issue Type: Improvement
          Components: c
            Reporter: B


In attempting to statically link against libavro, I kept running into minor-but-annoying issues, like not linking with jansson.

Currently `pkg-config --libs avro-c` and `pkg-config --libs --static avro-c` both return the same thing;  to make static linking easier, the latter should also add `-lz -lzma -lsnappy -ljansson -lpthread`, plus/minus whichever were actually used.



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