B created AVRO-2990:
-----------------------

             Summary: pkg-config: `libjansson` is actually `jansson` -- and it 
is Required!
                 Key: AVRO-2990
                 URL: https://issues.apache.org/jira/browse/AVRO-2990
             Project: Apache Avro
          Issue Type: Improvement
          Components: c
            Reporter: B


jansson is a hard requirement for avro, so would be very useful to have it 
included in the pkg-config Requires section.

And on the same area, CMakeLists.txt is doing this:


{code:java}
set(JANSSON_PKG libjansson)
{code}

All of the other LIB_PKG variables are valid pkg-config packages, and they all 
end up in the `Requires` section – But it turns out the pkg-config name for 
libjansson is `jansson`, without the lib prefix: 
https://github.com/akheron/jansson/blob/master/jansson.pc.in

Note that https://issues.apache.org/jira/browse/AVRO-2987 needs to be fixed 
first, since without that the entire Requires section isn't really usable.



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

Reply via email to