Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed May 13, 2023
1 parent 4ef3d97 commit a022f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down Expand Up @@ -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...
Expand Down

0 comments on commit a022f58

Please sign in to comment.