mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
iis: build_modsecurity.bat fixies
This commit enable a cleanup on the mod_security build directory avoiding symbols with different architectures.
This commit is contained in:
committed by
Felipe Zimmerle
parent
9477118903
commit
7e03e3f840
@@ -11,15 +11,18 @@ set CURRENT_DIR=%cd%
|
|||||||
|
|
||||||
cd ..\apache2
|
cd ..\apache2
|
||||||
del *.obj *.dll *.lib
|
del *.obj *.dll *.lib
|
||||||
|
del libinjection\*.obj libinjection\*.dll libinjection\*.lib
|
||||||
NMAKE -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR%\Apache24 PCRE=..\iis\%DEPENDENCIES_DIR%\pcre LIBXML2=..\iis\%DEPENDENCIES_DIR%\libxml2 LUA=..\iis\%DEPENDENCIES_DIR%\lua\src VERSION=VERSION_IIS
|
NMAKE -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR%\Apache24 PCRE=..\iis\%DEPENDENCIES_DIR%\pcre LIBXML2=..\iis\%DEPENDENCIES_DIR%\libxml2 LUA=..\iis\%DEPENDENCIES_DIR%\lua\src VERSION=VERSION_IIS
|
||||||
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
|
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
|
||||||
|
|
||||||
cd ..\mlogc
|
cd ..\mlogc
|
||||||
|
del *.obj *.dll *.lib
|
||||||
nmake -f Makefile.win clean
|
nmake -f Makefile.win clean
|
||||||
nmake -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR%\Apache24 PCRE=..\iis\%DEPENDENCIES_DIR%\pcre CURL=..\iis\%DEPENDENCIES_DIR%\curl VERSION=VERSION_IIS
|
nmake -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR%\Apache24 PCRE=..\iis\%DEPENDENCIES_DIR%\pcre CURL=..\iis\%DEPENDENCIES_DIR%\curl VERSION=VERSION_IIS
|
||||||
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
|
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
|
||||||
|
|
||||||
cd ..\iis
|
cd ..\iis
|
||||||
|
del *.obj *.dll *.lib
|
||||||
nmake -f Makefile.win clean
|
nmake -f Makefile.win clean
|
||||||
NMAKE -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR%\Apache24 PCRE=..\iis\%DEPENDENCIES_DIR%\pcre LIBXML2=..\iis\%DEPENDENCIES_DIR%\libxml2 LUA=..\iis\%DEPENDENCIES_DIR%\lua\src VERSION=VERSION_IIS
|
NMAKE -f Makefile.win APACHE=..\iis\%DEPENDENCIES_DIR%\Apache24 PCRE=..\iis\%DEPENDENCIES_DIR%\pcre LIBXML2=..\iis\%DEPENDENCIES_DIR%\libxml2 LUA=..\iis\%DEPENDENCIES_DIR%\lua\src VERSION=VERSION_IIS
|
||||||
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
|
@if NOT (%ERRORLEVEL%) == (0) goto build_failed
|
||||||
|
Reference in New Issue
Block a user