Ticket #43: 0007-libxml-usually-lives-under-usr-include-libxml2.patch
| File 0007-libxml-usually-lives-under-usr-include-libxml2.patch, 1.6 kB (added by tmm1, 5 months ago) |
|---|
-
a/vendor/eventmachine_xmlpushparser/ext/extconf.rb
old new 64 64 65 65 dir_config('xml2') 66 66 unless have_library('xml2') and 67 have_header('libxml/parser.h') and68 have_header('libxml/tree.h')67 find_header('libxml/parser.h', '/usr/include/libxml2') and 68 find_header('libxml/tree.h', '/usr/include/libxml2') 69 69 exit 70 70 end 71 71 … … 78 78 79 79 dir_config('xml2') 80 80 unless have_library('xml2') and 81 have_header('libxml/parser.h') and82 have_header('libxml/tree.h')81 find_header('libxml/parser.h', '/usr/include/libxml2') and 82 find_header('libxml/tree.h', '/usr/include/libxml2') 83 83 exit 84 84 end 85 85 # on Unix we need a g++ link, not gcc. … … 95 95 96 96 dir_config('xml2') 97 97 unless have_library('xml2') and 98 have_header('libxml/parser.h') and99 have_header('libxml/tree.h')98 find_header('libxml/parser.h', '/usr/include/libxml2') and 99 find_header('libxml/tree.h', '/usr/include/libxml2') 100 100 exit 101 101 end 102 102 # on Unix we need a g++ link, not gcc.
