Mercurial > gub
comparison gub/specs/libxml2.py @ 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 | e537c5665092 |
children |
comparison
equal
deleted
inserted
replaced
6479:7236e510eec3 | 6480:14886f802767 |
---|---|
18 class Libxml2__mingw (Libxml2): | 18 class Libxml2__mingw (Libxml2): |
19 configure_flags = (Libxml2.configure_flags | 19 configure_flags = (Libxml2.configure_flags |
20 + misc.join_lines (''' | 20 + misc.join_lines (''' |
21 --without-threads | 21 --without-threads |
22 ''')) | 22 ''')) |
23 # Hmm, should rename sys/mman.h to sys/mingw-mman.h? | |
24 config_cache_overrides = (Libxml2.config_cache_overrides | |
25 + ''' | |
26 ac_cv_header_sys_mman_h=${ac_cv_header_sys_mman_h=no} | |
27 ''') | |
28 | |
23 def install (self): | 29 def install (self): |
24 Libxml2.install (self) | 30 Libxml2.install (self) |
25 self.copy ('%(install_prefix)s/lib/libxml2.la', '%(install_prefix)s/lib/libxml2-2.la') | 31 self.copy ('%(install_prefix)s/lib/libxml2.la', '%(install_prefix)s/lib/libxml2-2.la') |
26 self.copy ('%(install_prefix)s/lib/libxml2.dll.a', '%(install_prefix)s/lib/libxml2-2.dll.a') | 32 self.copy ('%(install_prefix)s/lib/libxml2.dll.a', '%(install_prefix)s/lib/libxml2-2.dll.a') |
27 | 33 |