Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2990

pkg-config: `libjansson` is actually `jansson` -- and it is Required!

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • c
    • None

    Description

      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:

      set(JANSSON_PKG libjansson)
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Fraser B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: