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

pkg-config: Include required libraries in Libs.private

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: