kosh

makefile_libxml2.bat

Feb 20th, 2013
58
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. setlocal
  3.  
  4. rem libxml2をwin32用にコンパイルする
  5. rem libxml - http://www.xmlsoft.org
  6.  
  7. rem ※あらかじめ iconv を %msysroot%/usr/local にインストールしておく
  8. rem git clone git://git.gnome.org/libxml2
  9. rem cd libxml2\win32
  10.  
  11. path %WINDIR%\system32;
  12. path %PATH%;C:\MinGW\bin
  13.  
  14. set msysroot=C:\MinGW\msys\1.0
  15. set opt=^
  16. compiler=mingw ^
  17. prefix=%msysroot%\local ^
  18. include=%msysroot%\local\inclue ^
  19. lib=%msysroot%\local\lib
  20.  
  21. cscript configure.js %opt%
  22. mingw32-make install-libs
  23.  
  24. :eof
RAW Paste Data