Permalink
Browse files

libxml usually lives under /usr/include/libxml2

  • Loading branch information...
1 parent d25cf39 commit 6ffb457d7ae67f6aeb463a72fe048371261a422b Aman Gupta committed Jun 15, 2008
Showing with 6 additions and 6 deletions.
  1. +6 −6 vendor/eventmachine_xmlpushparser/ext/extconf.rb
View
12 vendor/eventmachine_xmlpushparser/ext/extconf.rb
@@ -64,8 +64,8 @@
dir_config('xml2')
unless have_library('xml2') and
- have_header('libxml/parser.h') and
- have_header('libxml/tree.h')
+ find_header('libxml/parser.h', '/usr/include/libxml2') and
+ find_header('libxml/tree.h', '/usr/include/libxml2')
exit
end
@@ -78,8 +78,8 @@
dir_config('xml2')
unless have_library('xml2') and
- have_header('libxml/parser.h') and
- have_header('libxml/tree.h')
+ find_header('libxml/parser.h', '/usr/include/libxml2') and
+ find_header('libxml/tree.h', '/usr/include/libxml2')
exit
end
# on Unix we need a g++ link, not gcc.
@@ -95,8 +95,8 @@
dir_config('xml2')
unless have_library('xml2') and
- have_header('libxml/parser.h') and
- have_header('libxml/tree.h')
+ find_header('libxml/parser.h', '/usr/include/libxml2') and
+ find_header('libxml/tree.h', '/usr/include/libxml2')
exit
end
# on Unix we need a g++ link, not gcc.

0 comments on commit 6ffb457

Please sign in to comment.