changeset 6480:14886f802767

mingw::libxml2: avoin using mingw mmap's sys/mman.h
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 03 Feb 2011 18:12:33 +0100
parents 7236e510eec3
children c9f348420ef1
files gub/specs/libxml2.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/libxml2.py	Thu Feb 03 17:09:45 2011 +0100
+++ b/gub/specs/libxml2.py	Thu Feb 03 18:12:33 2011 +0100
@@ -20,6 +20,12 @@
                 + misc.join_lines ('''
 --without-threads
 '''))
+    # Hmm, should rename sys/mman.h to sys/mingw-mman.h?
+    config_cache_overrides = (Libxml2.config_cache_overrides
+                              + '''
+ac_cv_header_sys_mman_h=${ac_cv_header_sys_mman_h=no}
+''')
+
     def install (self):
         Libxml2.install (self)
         self.copy ('%(install_prefix)s/lib/libxml2.la', '%(install_prefix)s/lib/libxml2-2.la')