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)

Reply via email to