[asterisk-bugs] [JIRA] (ASTERISK-29970) Use pkg-config to find libxml2 headers and libraries
Sebastian Kemper (JIRA)
noreply at issues.asterisk.org
Fri Aug 19 13:39:09 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259957#comment-259957 ]
Sebastian Kemper commented on ASTERISK-29970:
---------------------------------------------
Hi all,
This will not work when libxml2 is static, because Asterisk doesn't call pkg-config with the "--static" argument, so it'll miss out on some flags (the flags are provided when using xml2-config). Any thoughts on this?
Kind regards,
Seb
> Use pkg-config to find libxml2 headers and libraries
> ----------------------------------------------------
>
> Key: ASTERISK-29970
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29970
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Core/BuildSystem
> Affects Versions: GIT, 18.0.0, 19.0.0
> Reporter: Hugh McMaster
> Assignee: Hugh McMaster
> Target Release: 16.26.0, 18.12.0, 19.4.0
>
>
> Debian will stop packaging xml2-config in the Bookworm development cycle. Once this occurs, Ubuntu and other derivatives will follow, as they track Debian packages.
> Asterisk currently fails to build from source without xml2-config, so we need to detect libxml2 via pkg-config, falling back to xml2-config for systems without pkg-config.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list