[sr-dev] [kamailio/kamailio] support pkg-config when detecting libxml2 (#2199)

Daniel-Constantin Mierla notifications at github.com
Wed Jan 22 10:01:57 CET 2020


I see that 26 modules use it in Makefile.

On the other hand, on macos, the output of xml2-config and pkg-config are different:

```
$ xml2-config --libs
-L/opt/local/lib -lxml2 -L/opt/local/lib -lz -L/opt/local/lib -llzma -lpthread -liconv -L/opt/local/lib -licui18n -licuuc -licudata -lm

$ which xml2-config
/opt/local/bin/xml2-config

$ pkg-config --libs libxml-2.0
-L/opt/local/lib -lxml2

$ which pkg-config
/opt/local/bin/pkg-config
```

On debian 10 is the same.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2199#issuecomment-577077983
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200122/80de8098/attachment.html>


More information about the sr-dev mailing list