mirror of
https://github.com/rizinorg/cutter
synced 2026-08-11 16:23:06 -04:00
Build jsdec with -Djsc_folder option to embed the javascript code (#2801)
This commit is contained in:
parent
552cd6dff6
commit
c205acd773
3 changed files with 4 additions and 14 deletions
|
|
@ -7,13 +7,13 @@ SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
|
|||
cd "$SCRIPTPATH/.."
|
||||
|
||||
if [[ ! -d jsdec ]]; then
|
||||
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch v0.3.0
|
||||
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch v0.3.1
|
||||
fi
|
||||
|
||||
cd jsdec
|
||||
rm -rf build
|
||||
mkdir build && cd build
|
||||
meson --buildtype=release --libdir=share/rizin/plugins --datadir=share/rizin/plugins "$@" ../p
|
||||
meson --buildtype=release -Drizin_plugdir=share/rizin/plugins -Djsc_folder="../" --libdir=share/rizin/plugins --datadir=share/rizin/plugins "$@" ../p
|
||||
ninja
|
||||
ninja install
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue