mirror of
https://github.com/rizinorg/cutter
synced 2026-08-11 16:23:06 -04:00
Enable support for building rz-libswift on cutter (#2841)
This commit is contained in:
parent
239343bb20
commit
75c334596e
6 changed files with 63 additions and 1 deletions
19
scripts/rz-libswift.sh
Executable file
19
scripts/rz-libswift.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
|
||||
|
||||
cd "$SCRIPTPATH/.."
|
||||
|
||||
if [[ ! -d libswift ]]; then
|
||||
git clone https://github.com/rizinorg/rz-libswift.git --depth 1 libswift
|
||||
fi
|
||||
|
||||
cd libswift
|
||||
rm -rf build || sleep 0
|
||||
mkdir build && cd build
|
||||
meson --buildtype=release "$@" ..
|
||||
ninja
|
||||
ninja install
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue