mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Improved IIS build process and more fixes to handle Apache 2.4.
This commit is contained in:
16
iis/winbuild/build_module.bat
Normal file
16
iis/winbuild/build_module.bat
Normal file
@@ -0,0 +1,16 @@
|
||||
cd %WORK%
|
||||
CD mod_security\apache2
|
||||
del *.obj *.dll *.lib
|
||||
NMAKE -f Makefile.win APACHE=%APACHE% PCRE=%WORK%\%PCRE% LIBXML2=%WORK%\%LIBXML2% LUA=%WORK%\%LUA%\src VERSION=VERSION_IIS
|
||||
cd ..\mlogc
|
||||
copy /y %WORK%\Makefile.win .
|
||||
nmake -f Makefile.win clean
|
||||
nmake -f Makefile.win APACHE=%APACHE% PCRE=%WORK%\%PCRE% CURL=%WORK%\%CURL% VERSION=VERSION_IIS
|
||||
cd ..\iis
|
||||
nmake -f Makefile.win clean
|
||||
NMAKE -f Makefile.win APACHE=%APACHE% PCRE=%WORK%\%PCRE% LIBXML2=%WORK%\%LIBXML2% LUA=%WORK%\%LUA%\src VERSION=VERSION_IIS
|
||||
cd %WORK%
|
||||
|
||||
copy /y %WORK%\mod_security\mlogc\mlogc.exe %DROP%
|
||||
copy /y %WORK%\mod_security\iis\modsecurityiis.dll %DROP%
|
||||
copy /y %WORK%\mod_security\iis\modsecurityiis.pdb %DROP%
|
Reference in New Issue
Block a user