From a022f581fe0a5553138d509db483ade96114fb0c Mon Sep 17 00:00:00 2001 From: pancake Date: Sat, 13 May 2023 19:14:51 +0200 Subject: [PATCH] Fix windows build --- make.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.bat b/make.bat index 51935677..8cde65d4 100644 --- a/make.bat +++ b/make.bat @@ -63,7 +63,7 @@ if not exist .\frida-core-sdk-!frida_version!-!frida_os_arch!.exe ( cd .. echo Building r2frida-compile... -cl %DEBUG% /MT /nologo /Gy /DR2FRIDA_VERSION_STRING="!r2frida_version!" /DFRIDA_VERSION_STRING="!frida_version!" %R2_INC% /I"%cd%" /I"%cd%\frida" "%cd%\frida\frida-core.lib" "%R2_BASE%\lib\*.lib" r2frida-compile.c +cl %DEBUG% /MT /nologo /Gy /DR2FRIDA_VERSION_STRING="""!r2frida_version!""" /DFRIDA_VERSION_STRING="""!frida_version!""" %R2_INC% /I"%cd%" /I"%cd%\frida" "%cd%\frida\frida-core.lib" "%R2_BASE%\lib\*.lib" r2frida-compile.c cd .. REM REM echo Building the Agent... @@ -98,7 +98,7 @@ cd .. echo Compiling the Plugin... cd src REM cl %DEBUG% /MT /nologo /LD /Gy /D_USRDLL /D_WINDLL /DFRIDA_VERSION_STRING="""!frida_version!""" io_frida.c %R2_INC% /I"%cd%" /I"%cd%\frida" "%cd%\frida\frida-core.lib" "%R2_BASE%\lib\*.lib" || (echo Compilation Failed & exit /b 1) -cl %DEBUG% /MT /nologo /LD /Gy /D_USRDLL /D_WINDLL /DFRIDA_VERSION_STRING="""!frida_version!""" io_frida.c %R2_INC% /I"%cd%" /I"%cd%\frida" "%cd%\frida\frida-core.lib" "%R2_BASE%\lib\*.lib" +cl %DEBUG% /MT /nologo /LD /Gy /D_USRDLL /D_WINDLL /DR2FRIDA_VERSION_STRING="""!r2frida_version!""" /DFRIDA_VERSION_STRING="""!frida_version!""" io_frida.c %R2_INC% /I"%cd%" /I"%cd%\frida" "%cd%\frida\frida-core.lib" "%R2_BASE%\lib\*.lib" cd .. echo Distribution Zip...