GNOME Bugzilla – Bug 787602
libxslt-1.1.30 and master broken xslt-config when detecting libxml2 via pkgconfig
Last modified: 2017-09-14 19:59:29 UTC
Created attachment 359672 [details] [review] 0001-Move-XML_CONFIG-assignment-to-unbreak-xslt-config.patch Hello, This was reported downstream at https://bugs.gentoo.org/630784. The problem is that if libxml2 is found via pkgconfig, LIBXML_MANUAL_SEARCH is set to no which skips XML_CONFIG assignment, thus xslt-config gets broken. See highlighted code at https://github.com/GNOME/libxslt/blob/master/configure.in#L508-L535 To keep things coherent, I attach a patch that moves this assignment outside this if because I expect people that use these scripts to want this chaining behavior rather than instanciating pkgconfig or getting a copy of the flags of the libxml2 detected at build time.
Should be fixed with https://git.gnome.org/browse/libxslt/commit/?id=76df4c960c7247d82bf1c26344e76236cb37a175