Commit 8f35ac5f authored by Maarten Billemont's avatar Maarten Billemont

Improved libxml2 cflags/ldflags.

parent 06100510
Pipeline #31215556 failed with stage
in 6 minutes and 43 seconds
......@@ -222,7 +222,7 @@ use_mpw_json() {
}
use_mpw_xml() {
local requisite=$1
use mpw_xml "$requisite" xml2 && cflags+=( -D"MPW_XML=1" -I"/usr/include/libxml2" -I"/usr/local/include/libxml2" ) ||:
use mpw_xml "$requisite" xml2 && cflags+=( $(xml2-config --cflags) ) ldflags+=( $(xml2-config --libs) ) ||:
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment