mirror of
https://github.com/rizinorg/cutter
synced 2026-08-11 16:23:06 -04:00
Adjust r2 paths (#2338)
This commit is contained in:
parent
32adf0b5ba
commit
724d3f26b4
7 changed files with 23 additions and 24 deletions
|
|
@ -3,6 +3,6 @@
|
|||
scripts/r2ghidra.sh \
|
||||
-DCMAKE_C_COMPILER=cl \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_PREFIX_PATH="$APPVEYOR_BUILD_FOLDER/r2_dist_$ARCH;$APPVEYOR_BUILD_FOLDER/r2_dist_$ARCH/radare2;$QT64PATH" \
|
||||
-DCMAKE_INSTALL_PREFIX="$APPVEYOR_BUILD_FOLDER/r2_dist_$ARCH/radare2" \
|
||||
-DRADARE2_INSTALL_PLUGDIR="$APPVEYOR_BUILD_FOLDER/r2_dist_$ARCH/radare2/lib/plugins"
|
||||
-DCMAKE_PREFIX_PATH="$APPVEYOR_BUILD_FOLDER/r2_dist;$APPVEYOR_BUILD_FOLDER/r2_dist/include/libr;$QT64PATH" \
|
||||
-DCMAKE_INSTALL_PREFIX="$APPVEYOR_BUILD_FOLDER/r2_dist" \
|
||||
-DRADARE2_INSTALL_PLUGDIR="$APPVEYOR_BUILD_FOLDER/r2_dist/lib/plugins"
|
||||
|
|
@ -3,6 +3,6 @@ $python = Split-Path((Get-Command python.exe).Path)
|
|||
|
||||
git clone https://github.com/wargio/r2dec-js.git
|
||||
cd r2dec-js
|
||||
& $python\Scripts\meson.exe --buildtype=release -Dc_args=-DDUK_USE_DATE_NOW_WINDOWS --prefix=$dist\radare2 --libdir=lib\plugins --datadir=lib\plugins p build
|
||||
& meson.exe --buildtype=release -Dc_args=-DDUK_USE_DATE_NOW_WINDOWS --prefix=$dist --libdir=lib\plugins --datadir=lib\plugins p build
|
||||
ninja -C build install
|
||||
Remove-Item -Recurse -Force $dist\radare2\lib\plugins\core_pdd.lib
|
||||
Remove-Item -Recurse -Force $dist\lib\plugins\core_pdd.lib
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue