freeswitch / sofia-sip

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification.
GNU Lesser General Public License v2.1
254 stars 173 forks source link

Is the @HAVE_GOBJECT@ pkg-config directive in packages/sofia-sip-ua-glib.pc.in necessary? What does it do? #238

Open ArrayBolt3 opened 7 months ago

ArrayBolt3 commented 7 months ago

Apologies for this being a question in the bug report area - I'm trying to fix a Debian packaging problem and cannot understand what this directive does. The mailing list seems dead.

One of Debian's package checking tools, Lintian, warns that this directive "could lead to FTBFS or leak private compile flags to another package." (FTBFS = failure to build from source) It looks like (and I could be very wrong here) the directive allows some other package's compile flags to influence how the sofia-sip-ua-glib library behaves. If so, this seems like it could be intentional behavior, but I'm not sure. What exactly is this directive for? Is it possible that there may be some other way of achieving the same result without using it?

Thanks for your help!