mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:03:23 +00:00
Query pkg-config with libxml2 via default name to
On Ubuntu and in the source package, libxml2 defaults to naming its pkg-config file to libxml-2.0.pc so query after the package with that name to. I don't know what platform ships it as libxml2, so that might be a typo. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
11dd5bda57
commit
93c73ccc68
1 changed files with 4 additions and 0 deletions
|
@ -99,6 +99,10 @@ link_pkgconfig {
|
|||
XML2_CFLAGS = $$system($$PKG_CONFIG --cflags libxml2 2> $$NUL)
|
||||
XML2_LIBS = $$system($$PKG_CONFIG --libs libxml2 2> $$NUL)
|
||||
}
|
||||
isEmpty(XML2_CFLAGS)|isEmpty(XML2_LIBS) {
|
||||
XML2_CFLAGS = $$system($$PKG_CONFIG --cflags libxml-2.0 2> $$NUL)
|
||||
XML2_LIBS = $$system($$PKG_CONFIG --libs libxml-2.0 2> $$NUL)
|
||||
}
|
||||
isEmpty(XSLT_CFLAGS)|isEmpty(XSLT_LIBS) {
|
||||
XSLT_CFLAGS = $$system($$PKG_CONFIG --cflags libxslt 2> $$NUL)
|
||||
XSLT_LIBS = $$system($$PKG_CONFIG --libs libxslt 2> $$NUL)
|
||||
|
|
Loading…
Add table
Reference in a new issue