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:53:00 UTC
[jira] [Commented] (AVRO-2988) pkg-config: Include required
libraries in Libs.private
[ https://issues.apache.org/jira/browse/AVRO-2988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237612#comment-17237612 ]
B commented on AVRO-2988:
-------------------------
https://github.com/apache/avro/pull/1019
> 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
> Priority: Minor
>
> 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)