B created AVRO-2989:
-----------------------

             Summary: libsnappy has no pkg-config file
                 Key: AVRO-2989
                 URL: https://issues.apache.org/jira/browse/AVRO-2989
             Project: Apache Avro
          Issue Type: Improvement
          Components: c
            Reporter: B


Google explicitly is not supporting pkg-config: 
[https://github.com/google/snappy/pull/86]

But CMakeLists.txt does this:
{code:java}
set(SNAPPY_PKG libsnappy)
{code}
And later SNAPPY_PKG is what ends up in the pkg-config `Requires` section.

The end result is that `pkg-config --exists` will always fail, since the 
Require'd package is (almost never) around, unless package managers or users 
went and manually added one.

Note that this (softly) requires 
https://issues.apache.org/jira/browse/AVRO-2987 to be fixed first – without 
that fix, the whole Requires: section isn't really working in the first place.



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

Reply via email to