File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,21 +28,27 @@ def crash(str)
2828found_header = find_header ( 'libxml/xmlversion.h' ,
2929 '/opt/include/libxml2' ,
3030 '/opt/local/include/libxml2' ,
31+ '/opt/homebrew/opt/libxml2/include/libxml2' ,
3132 '/usr/local/include/libxml2' ,
3233 '/usr/include/libxml2' ,
33- '/usr/local/include' )
34+ '/usr/local/include' ,
35+ '/usr/local/opt/libxml2/include/libxml2' )
3436
3537found_lib = find_library ( 'xml2' , 'xmlParseDoc' ,
36- '/opt/lib' ,
37- '/opt/local/lib' ,
38- '/usr/local/lib' ,
39- '/usr/lib' )
38+ '/opt/lib' ,
39+ '/opt/local/lib' ,
40+ '/opt/homebrew/opt/libxml2/lib' ,
41+ '/usr/lib' ,
42+ '/usr/local/lib' ,
43+ '/usr/local/opt/libxml2/lib' )
4044
4145found_lib ||= find_library ( 'libxml2' , 'xmlParseDoc' ,
4246 '/opt/lib' ,
4347 '/opt/local/lib' ,
48+ '/opt/homebrew/opt/libxml2/lib' ,
49+ '/usr/lib' ,
4450 '/usr/local/lib' ,
45- '/usr/lib' )
51+ '/usr/local/opt/libxml2/ lib' )
4652
4753if !found_header || !found_lib
4854 crash ( <<~EOL )
You can’t perform that action at this time.
0 commit comments